Andrew,
thanks. I don't know why xslt engine inside my Enterprise Service Bus
doesn't accept:
match="*:param" (I' don't remember how it fails)
I will try to implement "two stage transform" as you suggested.
Thanks,
e.
2009/4/15 Andrew Welch <andrew(_dot_)j(_dot_)welch(_at_)gmail(_dot_)com>:
why have this
<xsl:template match="*[local-name()='param']">
which is likely to be slower to execute and harder to read than
<xsl:template match="param">
Because it must be namespace agnostic! Is there an other way
to ignore namespace prefix?
Either:
match="*:param"
or
do a two stage transform where the first stage strips any namespaces
(or puts everything in the same namespace) and the second stages
processes that output.
The "two stage transform" can still take place inside a single
stylesheet to begin with, so it's not much effort (and some might say
preferable to * in every match pattern and xpath...)
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--