Determining the Number of Nodes in a Collection

To obtain the number of nodes in a node set, call the count() function. The format is

number count(node-set) 
               

            

The count() function returns the number of nodes in the specified set. For example, the following query finds all authors who have more than ten publications:

//author[count(publications) > 10] 
               

            

To obtain the number of nodes in the current context, call the last() function, described in the next section.

HTML to XML Importer

Convert HTML to XML with the Stylus Studio HTML to XML Importer, a powerful, visual utility for Converting HTML to XML with ease.

Converting Custom EDI Message Types to XML

Vital and valuable legacy data locked in proprietary EDI files? See how to use DataDirect XML Converters™ custom EDI message type tools to convert nonconformant EDI to XML.

Consumer Food Products

Want to know what special ingredient is in these consumer food product companies work enviornment? Well it's a touch Stylus Studio that give these consumer food product companies the extra edge they need for producing such high quality food products!

EDI to XML Mapping

A tutorial on how to transform EDI files into XML using Stylus Studio's Convert to XML tool. Subsequent post-processing of the converted EDI data is done through XQuery or XSLT, modeling a real world XML data integration application.

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member