in reply to xml::xslt xpath bug?
What is the expected output? From your second attempt, I'm guessing you want all the nodes whose id attribute start with "id".
The following would be what you want, but XML::XSLT doesn't recognize it:
<xsl:if test="/PLMXML/Form[starts-with(@id, 'id')]">
XML::XSLT doesn't recognize the following either:
<xsl:if test="/PLMXML/Form[substr(@id, 1, 2)='id']">
XML::XSLT uses its own bad XPath engine instead of a complete, tried and true engine. You should be looking for alternatives.
Update: The above work if you remove the spaces.
<xsl:if test="/PLMXML/Form[starts-with(@id,'id')]">
|
|---|