Yes - thank you for correcting me, I have being learning XSLT over the last week or so an am probably suffering information overload ;)
I appreciate XPATH by itself is incorrect, this is just a cut down sample - you wouldn't want to read through 100's of lines of my code!
I pretty sure what your trying to do goes against the basic rules of XML.
Your xpath may read the data in a different order from what is listed in your xml.
You could use a sort but again this would be unpredictable.
The point being if you want the fields read in a particular order rename...
Hi All
I have a simple question image the following XML
<toplevel>
<toptest odd=”Yes”>
<midlevel>
<midlevel value=”1000”>
</midlevel>
<toplevel>
Midway through my template i am then trying to access a parents' nodes elements attribute like so...
<xsl:for-each select="midlevel">...
Hi all
I'm sure this is a noob question and will be simple for you experts to answer here goes.
Why can I not restrict an element when it has attributes for example....
<xs:element minOccurs="0" maxOccurs="unbounded" name="Forename">
<xs:complexType>
<xs:simpleContent>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.