xsl-list
[Top] [All Lists]

RE: Can't use xsl:include href="char-map.xslt"

2005-09-21 23:25:27
I finally got it running, I replaced all the entity
characters in the character attribute with their
equivalent hexadecimal entity (ü to
ü). However, I can only run my xsl when the
output method is XHTML, when I use HTML I get an error
"Unhandled exception during processing of
D:\RND\RPP\XSLT\RPP_v1.0.xslt
D:\RND\RPP\Untitled4.xml". This is my output line:

<xsl:output method="html" encoding="UTF-8"
indent="yes" name="table"
use-character-maps="charmap"/>

But when I remove the use-charactermaps attribute, the
transformation works again. Is it not possible to
use-character-maps when you output method is HTML???

--
UlyLee

--- UlyLee <ulyleeka(_at_)yahoo(_dot_)com> wrote:

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="&uuml;"/>
<xsl:output-character character="&ugr;"
string="&ugr;"/>
<xsl:output-character character="ú"
string="&uacute;"/>
<xsl:output-character character="&sfgr;"
string="&sfgr;"/>
<xsl:output-character character="?"
string="&rdquo;"/>
<xsl:output-character character="ö"
string="&ouml;"/>
<xsl:output-character character="&ogr;"
string="&ogr;"/>
<xsl:output-character character="&ngr;"
string="&ngr;"/>
<xsl:output-character character="?"
string="&ndash;"/>
<xsl:output-character character=" "
string="&nbsp;"/>
<xsl:output-character character="&mgr;"
string="&mgr;"/>
<xsl:output-character character="?"
string="&mdash;"/>
<xsl:output-character character="?"
string="&ldquo;"/>
<xsl:output-character character="î"
string="&icirc;"/>
<xsl:output-character character=">" string="&gt;"/>
<xsl:output-character character="&ggr;"
string="&ggr;"/>
<xsl:output-character character="&emacr;"
string="&emacr;"/>
<xsl:output-character character="è"
string="&egrave;"/>
<xsl:output-character character="&egr;"
string="&egr;"/>
<xsl:output-character character="&eegr;"
string="&eegr;"/>
<xsl:output-character character="&eedagr;"
string="&eedagr;"/>
<xsl:output-character character="é"
string="&eacute;"/>
<xsl:output-character character="&dasiagr;"
string="&dasiagr;"/>
<xsl:output-character character="&bgr;"
string="&bgr;"/>
<xsl:output-character character="ä"
string="&auml;"/>
<xsl:output-character character="&apsgr;"
string="&apsgr;"/>
<xsl:output-character character="&apos;"
string="&apos;"/>
<xsl:output-character character="&aoxgr;"
string="&aoxgr;"/>
<xsl:output-character character="&" string="&amp;"/>
<xsl:output-character character="á"
string="&aacute;"/>
<xsl:output-character character="&#9830;"
string="&#9830;"/>
<xsl:output-character character="&#981;"
string="&#981;"/>
<xsl:output-character character="&#977;"
string="&#977;"/>
<xsl:output-character character="&#973;"
string="&#973;"/>
<xsl:output-character character="&#972;"
string="&#972;"/>
<xsl:output-character character="&#970;"
string="&#970;"/>
<xsl:output-character character="&#969;"
string="&#969;"/>
<xsl:output-character character="&#968;"
string="&#968;"/>
<xsl:output-character character="&#967;"
string="&#967;"/>
<xsl:output-character character="&#966;"
string="&#966;"/>
<xsl:output-character character="&#965;"
string="&#965;"/>
<xsl:output-character character="&#964;"
string="&#964;"/>
<xsl:output-character character="&#963;"
string="&#963;"/>
<xsl:output-character character="&#962;"
string="&#962;"/>
<xsl:output-character character="&#961;"
string="&#961;"/>
<xsl:output-character character="&#960;"
string="&#960;"/>
<xsl:output-character character="&#959;"
string="&#959;"/>
<xsl:output-character character="&#958;"
string="&#958;"/>
<xsl:output-character character="&#957;"
string="&#957;"/>
<xsl:output-character character="&#956;"
string="&#956;"/>
<xsl:output-character character="&#955;"
string="&#955;"/>
<xsl:output-character character="&#954;"
string="&#954;"/>
<xsl:output-character character="&#953;"
string="&#953;"/>
<xsl:output-character character="&#952;"
string="&#952;"/>
<xsl:output-character character="&#951;"
string="&#951;"/>
<xsl:output-character character="&#950;"
string="&#950;"/>
<xsl:output-character character="&#949;"
string="&#949;"/>
<xsl:output-character character="&#948;"
string="&#948;"/>
<xsl:output-character character="&#947;"
string="&#947;"/>
<xsl:output-character character="&#946;"
string="&#946;"/>
<xsl:output-character character="&#945;"
string="&#945;"/>
<xsl:output-character character="&#943;"
string="&#943;"/>
<xsl:output-character character="&#942;"
string="&#942;"/>
<xsl:output-character character="&#941;"
string="&#941;"/>
<xsl:output-character character="&#940;"
string="&#940;"/>
<xsl:output-character character="&#937;"
string="&#937;"/>
<xsl:output-character character="&#935;"
string="&#935;"/>
<xsl:output-character character="&#934;"
string="&#934;"/>
<xsl:output-character character="&#933;"
string="&#933;"/>
<xsl:output-character character="&#932;"
string="&#932;"/>
<xsl:output-character character="&#931;"
string="&#931;"/>
<xsl:output-character character="&#929;"
string="&#929;"/>
<xsl:output-character character="&#928;"
string="&#928;"/>
<xsl:output-character character="&#927;"
string="&#927;"/>
<xsl:output-character character="&#926;"
string="&#926;"/>
<xsl:output-character character="&#924;"
string="&#924;"/>
<xsl:output-character character="&#923;"
string="&#923;"/>
<xsl:output-character character="&#922;"
string="&#922;"/>
<xsl:output-character character="&#921;"
string="&#921;"/>
<xsl:output-character character="&#920;"
string="&#920;"/>
<xsl:output-character character="&#917;"
string="&#917;"/>
<xsl:output-character character="&#916;"
string="&#916;"/>
<xsl:output-character character="&#914;"
string="&#914;"/>
<xsl:output-character character="&#913;"
string="&#913;"/>
<xsl:output-character character="&#8594;"
string="&#8594;"/>
<xsl:output-character character="&#8313;"
string="&#8313;"/>
<xsl:output-character character="&#8312;"
string="&#8312;"/>
<xsl:output-character character="&#8310;"
string="&#8310;"/>
<xsl:output-character character="&#8308;"
string="&#8308;"/>
<xsl:output-character character="&#8231;"
string="&#8231;"/>
<xsl:output-character character="?"
string="?"/>
<xsl:output-character character="&#8229;"
string="&#8229;"/>
<xsl:output-character character="?"
string="?"/>
<xsl:output-character character="?"
string="?"/>
<xsl:output-character character="?"
string="?"/>
<xsl:output-character character="?"
string="?"/>
<xsl:output-character character="?"
string="?"/>

=== message truncated ===


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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>
--~--