[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

Subject: Newbie: template match using a mix of namespace prefix and none prefix
From: Palmer Magnus <Magnus.Palmer@xxxxxxxxxxxx>
Date: Mon, 9 Sep 2002 10:21:04 +0200
template match mode
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.