[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: how to avoid hardcoding xpath-default-namespace in xsl:stylesheet?


Subject: [xsl] Re: how to avoid hardcoding xpath-default-namespace in xsl:stylesheet?
From: Larry Evans <cppljevans@xxxxxxxxxxxxxx>
Date: Sat, 12 Apr 2014 10:13:31 -0500

On 04/11/14 17:51, David Carlisle wrote:
On 11/04/2014 23:35, Larry Evans wrote:
 ><!--How to avoid this hardcoding of xpath-default-namespace?-->
<xsl:template match="html">

the model really is that you _want_ to hardcode the namespace just as you have hardcoded the local-name "html" they are just two parts of the same name.
[snip]
Duh.  Your right, that makes perfect sense about needed to hardcode
the name.

Thanks for helping me see that.

-regards,
Larry


Current Thread