|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to handle xsi prefix in XSLT
> Below is simplified version of my XSLT file and full version of my XML > source file to which I am trying to apply the mentioned XSLT. The > problem I am having is in the ?<xsl:template match = > "Command[@xsi:type]">? line and more specifically with xsi:type > attribute. I am using xsi:type because that how it appears in > XML file, > but when I try to apply XSLT to XML I am getting : > "org.xml.sax.SAXParseException: undefined prefix" error. > I am using TIBCO visual tool for XML and XSLT. Can anyone > point anything > wrong with what I am doing, please? If you use a namespace prefix in the stylesheet, even if only in an expression or pattern, then you must declare it in the stylesheet with an xmlns:xsi="..." declaration. Mike Kay 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








