|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Xalan won't accept QName in XPath node test
I hope one of you guys have seen before and can give me a hint as to
what I am doing wrong. I cannot find anything pointing me to a solution
either in this mailing list or elsewher.
Simple problem : Match an element in a default namespace from an XSL stylesheet. Wrong solution: (My files are inlined below) Declaring the same namespace as 'art' within the stylesheet and using the xpath expression "art:Article" to match <Article/> elements. That does not work. XmlSpy / IE6 has no trouble stylesheeting the same files. Am I doing something wrong or is Xalan doing something wrong? Any help and hints greatly apprecieated.
*Stylesheet*
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:art="/type/Article.xsd"
version="1.0">
<xsl:template match="art:Article">Matched!</xsl:template>
</xsl:stylesheet>-- Kim Thrysøe kt@xxxxxxxx 22 48 61 54 96 35 61 00 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








