-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Apr 19, 2006, at 12:44 PM, Michael Kay wrote:
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
Ok, I get it. Binding the XHTML namespace to the html prefix lets me
match with html:font. The document I'm processing now has the XHTML
namespace as the default, whereas the other documents I've been
working with had no namespace.
It really sucks that I can't assign a default namespace in my
stylesheet.
- --
Ian Eure
Developer,
eNotes.com LLC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFERpWJxuUdPD6j2IMRAm8CAJ9lQqjjPYQhz254RDNI60OvcRjVsQCfZLUg
b9ITQAhEtqAiIVzJd7Ed6Tg=
=+yLi
-----END PGP SIGNATURE-----
--~------------------------------------------------------------------
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>
--~--