Subject: RE: [xsl] Can't use xsl:include href="char-map.xslt" From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 22 Sep 2005 13:06:54 +0100 |
> Sorry if my question is confusing, my bad :D. The > problem really was the char-map.xslt was not loading > into the main xsl file. Here is the char-map.xslt > file: > > <?xml version="1.0" encoding="UTF-8"?> > <xsl:stylesheet version="2.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:character-map name="charmap"> > <xsl:output-character character="|" string="ü"/> This isn't well-formed XML. You can't refer to entities unless you first declare them. > <xsl:output-character character="φ" > string="φ"/> Why are you mapping a character to itself? It just gives the serializer a lot more work to do. Perhaps you meant > <xsl:output-character character="φ" > string="&#966;"/> which would cause the serializer to output & # 9 6 6 ; (6 characters) But even if that's what you want, wouldn't it be just as good to specify <xsl:output encoding="us-ascii">? Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Can't use xsl:include hre, UlyLee | Thread | [xsl] Unwanted Prefixes in Output, Alan |
Re: [xsl] Wath is the opposite of t, António Mota | Date | Re: [xsl] new user question Saxon, David Carlisle |
Month |