Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For each group is not working in XSLT ts #10

Open
rajendra227 opened this issue Oct 19, 2020 · 0 comments
Open

For each group is not working in XSLT ts #10

rajendra227 opened this issue Oct 19, 2020 · 0 comments

Comments

@rajendra227
Copy link

rajendra227 commented Oct 19, 2020

We are using the xslt-ts libraray to transform the XML and XSLT into PDF, but we have a for-each-group and other grouping techniques which was supported in this library(xslt-ts) could you please help us with some insights here or any alternative which will be useful in this regards.Below is the sample XSLT and XML i have used to generate the PDF but it was giving me an empty HTML which lead to get empty PDF.

Sample XML:





Sample Code for XSL:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"version="2.0"><xsl:output method="text"/>
<xsl:template match="files"><xsl:for-each-group select="file" group-by="@project"><xsl:value-of select="current-grouping-key()"/>xsl:text</xsl:text></xsl:for-each-group></xsl:template></xsl:stylesheet>

--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant