in reply to xml::xslt xpath question
<xsl:value-of select="/PLMXML/Form@subType='Part Revision Master']/UserData/UserValue[@title='cage_code']/@value"/>
Missing [, the Form doesn't have a UserData child, and I can't verify from what you've shown that the Form has the right ancestry.
<xsl:strip-space elements="*"/><xsl:value-of select="/PLMXML/Form@subType='PartRevisionMaster']/UserData/UserValue[@title='cage_code']/@value"/>
Missing [, the Form doesn't have a UserData child, and I can't verify from what you've shown that the Form has the right ancestry.
<xsl:value-of select="/PLMXML/Form@subType='Part#x20Revision#x20Master']/UserData/UserValue[@title='cage_code']/@value"/>
Missing [, the Form doesn't have a UserData child, and I can't verify from what you've shown that the Form has the right ancestry.
I can't comment the later snippets since I know XPath, not XSLT.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: xml::xslt xpath question
by Anonymous Monk on Jul 06, 2009 at 19:40 UTC | |
by ikegami (Patriarch) on Jul 06, 2009 at 20:00 UTC | |
by Anonymous Monk on Jul 06, 2009 at 20:15 UTC | |
by ikegami (Patriarch) on Jul 06, 2009 at 20:52 UTC | |
by Anonymous Monk on Jul 06, 2009 at 21:12 UTC | |
| |
by ikegami (Patriarch) on Jul 06, 2009 at 20:40 UTC |