Using count in xsl

tmmet tvp tmmet at hotmail.com
Thu Dec 23 21:54:36 GMT 1999


Hi,
I want to get the count of total number of nodes in my xml file.How can I do 
this in xsl?.Since,IE5 doesnot support XSLT,I can't use XSLT functions like 
position,count(),from-descendants() etc.
In MSXML,we have <xsl:script>,in which I can call the function for 
incrementing my count(variable).I would be glad if there is any other method 
to do this(getting the count of total nodes,subnodes of a particular 
type/tag etc) using XSL which will work in IE5 also.Any ideas will be 
greatly helpful for me.
Thanks in advance.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list