|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Newbie: template match using a mix of namespace prefix
Hi, I have troubles finding a template match when the Xpath is consisting of mixed with and without namespace prefix. (It is an OAGIS 7.1 message based on XDR and not XSD if that matters...) 1) Absolute path, not working <xsl:template match="/msg/req/dta/SHOW_PO_007/DATAAREA/SHOW_PO/POHEADER/of:USERAREA/of:TRA NSMETHD" mode="copy"> 2) A relative path not working <xsl:template match="///POHEADER/of:USERAREA/of:TRANSMETHD" mode="copy"> 3) This one is working, but now I may match POLINE tags as well... <xsl:template match="//of:USERAREA/of:TRANSMETHD" mode="copy"> I have used first Xalan 2.4.0 and then instant Saxon 6.2 without success. Have I missed something or? The other template I have is this: <xsl:template match="@*|node()" mode="copy"> Best regards Magnus Palmér I've tried finding what I need in the archives, but without success. 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








