in reply to Re^2: xml::xslt xpath question
in thread xml::xslt xpath question
Simplified XML:
<?xml version="1.0" encoding="utf-8"?> <PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema"> <Form subType="Part Revision Master"> <UserData> <UserValue title="cage_code" value="98747"/> </UserData> </Form> </PLMXML>
You keep mentioning spaces, but I don't see why that would be a problem.
Did you try fixing the the missing "[" I mentioned? If the first snippet doesn't work with the missing "[ fixed, I suspect a namespace problem. I don't know how XSLT deals with namespaces, so I can't help you there.
Outside of XSLT, your XPath would be wrong since it references elements in the null namespace while they are in the http://www.plmxml.org/Schemas/PLMXMLSchema namespace.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: xml::xslt xpath question
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 21:34 UTC | |
by Anonymous Monk on Jul 06, 2009 at 21:46 UTC | |
by ikegami (Patriarch) on Jul 06, 2009 at 20:40 UTC |