Skip to content

For each group is not working in XSLT ts #10

Description

@rajendra227

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>

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions