This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Newbie: template match using a mix of namespace prefix and none 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]