Subject: RE: [xsl] Aargh - wrong template applied From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 19 Apr 2006 20:44:32 +0100 |
> > 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Aargh - wrong template ap, Wendell Piez | Thread | Re: [xsl] Aargh - wrong template ap, Ian Eure |
Re: [xsl] Aargh - wrong template ap, Wendell Piez | Date | Re: [xsl] Aargh - wrong template ap, Ian Eure |
Month |