xsl-list
[Top] [All Lists]

RE: [xsl] Matching a template

2009-10-12 06:46:39
I'm not sure how to match elements in no namespace once 
you've changed the xpath-default-namespace, but the simple 
work around is to not use it (give the xhtml namespace a 
prefix and use that for processing those elements) and then a 
simple match="idAplicatie" would work.

You can set xpath-default-namespace at any level.

<xsl:template match="abc" xpath-default-namespace="">

will override any setting at the xsl:stylesheet level.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>