[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: output encoding problem (still!)

Subject: Re: output encoding problem (still!)
From: Jonas Lundberg <my.name.is.hans@xxxxxxxxx>
Date: Wed, 17 Aug 2005 18:18:42 +0200
Re:  output encoding problem (still!)
So, why don't you import them all? Why use document() and include at
the same time?
Maybe you could avoild the problem by using an include with an xpointer?

Hans

On 8/16/05, Gabriel K <gabriel.klappenbach@xxxxxxxxxxxx> wrote:
> 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.
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.