Subject: RE: [xsl] output encoding problem (second try) From: "Gabriel K" <gabriel.klappenbach@xxxxxxxxxxxx> Date: Wed, 17 Aug 2005 14:48:13 +0200 |
I'm sorry, I meant IXSLProcessor obeys output element encoding. Not transformNode. /Gabriel > -----Ursprungligt meddelande----- > Fren: Gabriel K [mailto:gabriel.klappenbach@xxxxxxxxxxxx] > Skickat: den 17 augusti 2005 14:40 > Till: XSL-list > Dmne: [xsl] output encoding problem (second try) > > Hi. > I've been going at this problem for quite some time with no luck. > The problem is one of encodings. My XSL-file transforms an XML document, > and > also reads from another one using document(). For some reason, these two > never display the characters E D V in them correctly *at the same time* > (that is, using a specific encoding). > > Below is a link to the output of the transformation. First I output with > IXSLprocessor, and below that using transformNode(). > > http://gabbah.no- > ip.org/mirakel/ex.asp?ctype=KSP&cdoc=object&cnBookmark=ARNE > BACKEN&cpKNP=* > > > As you can see, with IXSLprocessor, the XML read with document() is > displayed correctly, but the main XML is not (the word 'TrollhC$ttan' is > from the main XML). > With transformNode(), the main XML is displayed correctly, while the > 'imported' one is not. (the word Kabelsk?p is from the imported) > > I'm trying to output everything in UTF-8. The output element controls the > output encoding only when I use transformNode(), not with IXSLProcessor. > If you change the encoding used in the browser, either the main XML or the > imported will not look good! > *OBSERVE* that the transformation is successful if I transform it in > XMLSPY; > all characters display fine. (Then the main XML has been saved to disk > first > and the transformed). > So the problem is when I go via ASP! > > The asp: > http://gabbah.no-ip.org/mirakel/ex.asp.txt > the XSL: > http://gabbah.no-ip.org/mirakel/XSL/PC/KSPex.xsl > the main XML: > http://gabbah.no- > ip.org/mirakel/ex.asp?ctype=KSP&cdoc=object&cnBookmark=ARNE > BACKEN&cpKNP=*&transform=no > the XML imported with document(): > http://gabbah.no-ip.org/mirakel/XML/languageDependent.xml > XML-engine: > MSXML3 > > Any help with this would be MUCH appreciated.. I've been struggling with > this for many many days! > > /Gabriel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] output encoding problem (seco, Gabriel K | Thread | RE: [xsl] output encoding problem (, Michael Kay |
[xsl] output encoding problem (seco, Gabriel K | Date | [xsl] Seeking Examples of XSLT Memo, Alan |
Month |