Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chrish22

    How to read a parents' nodes, elements attribute

    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!
  2. chrish22

    Referring to the first element, or to the second element

    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...
  3. chrish22

    How to read a parents' nodes, elements attribute

    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">...
  4. chrish22

    Element restriction when I have elements

    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>...

Part and Inventory Search

Back
Top