counter XSLT?????


XML & Web services: counter XSLT?????

  1. counter XSLT????? (2 messages)

    I am converting xml to flat file using xslt. I need to count certain lines NOT all that I am printing out to flat file. after monkeying around for about four hours, I have no clue how to approch this. any ideas?

    Threaded Messages (2)

  2. counter XSLT?????[ Go to top ]

    Cant you use teh count() function:
    <xsl:value-of select="count(NodeName)"/>

  3. counter XSLT?????[ Go to top ]

    I would have but there will be multiple elements with same name. and they will be considered one row. Anyways, Thanks for the reply. I made my way around, pointing my XSL to a javascript (what a dumb solution, but hey, it works right)