xsl-list
[Top] [All Lists]

RE: [xsl] Aargh - wrong template applied

2006-04-19 12:44:55
You haven't shown your source document, but my guess is 
that your font 
elements are in a namespace.

It's an XHTML 1.0 Transitional document, so it has the XHTML 
namespace bound on the root node. So, yes, the font element 
is in a namespace, but it's the same namespace as everything 
else in the document.

The fact that it's the same namespace as everything else is irrelevant. If
it's in a namespace, then references to it in the stylesheet need to be
prefixed. 

See http://www.dpawson.co.uk/xsl/sect2/N5536.html #13 and #23

Michael Kay
http://www.saxonica.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>
--~--