Something like position()
I'm making an xsl template which takes a SQL table's info and automates form display based on data types, field order, etc.
Given something like
<fields> <field name="name" /> <field name="city" /> <field name="state" /> <field name="zip" /> <field name="favFood" /> </fields>
Above, I'd like only the nodes which are after @name="city" and before @name="favFood".
Let's say, for example, I wanted to add zipPlusFour after "zip" and before "favFood". I'd want my xsl to 'know' to this field belongs in the form. Looking for output something like...
<form> <city> <state> <zip> </form>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format