A good resource for XSLT, XPATH, etc. is http://www.w3c.org
Illarramendi Amilibia, Aitor wrote: > Hi David: > > Firstly, excuse me because of the message, this one is a plain text > (I think so). > Secondly, I would like to know where could I find documentation > about this questions. I've got a very poor internet connection and I'm > looking for it, but very slowly :( So, please, if you could give me some > links, I'll be very pleased. > > I said before, I'm newbie in this context, please don't hesitate. > > Thanks a lot. > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: mi�rcoles 28 de noviembre de 2001 16:38 > To: [EMAIL PROTECTED] > Subject: Re: How to use another encoding with XalanC instead of UTF-8 > > > > > Please do not send HTML message, or other stylized text to this mailing > list. > > There is nothing "corrupted" in the output. You didn't specify an > encoding, so Xalan uses UTF-8, which is required by the recommendation. > The other possibility is that you specified an encoding which Xalan does > not support, so UTF-8 is used instead. This is again allowed by the > recommendation. > > If you want a specific encoding for output, you should use the xsl:output > element on your stylesheet. If Xerces supports that encoding, then Xalan > will support it. If you want to use encodings other than those that Xerces > supports natively, you'll need to rebuild Xerces (not Xalan) with the ICU > enabled. Then, Xalan will be able to use those encodings. > > There is lots of documentation available. If you have more questions, > please read it before you post. > > Dave > > > > > > "Illarramendi > > Amilibia, To: > "'[EMAIL PROTECTED]'" > Aitor" <[EMAIL PROTECTED]> > > <aillarramendi cc: (bcc: David N > Bertoni/CAM/Lotus) > @indra.es> Subject: How to use another > encoding with XalanC > instead of UTF-8 > > 11/28/2001 > > 06:27 AM > > Please respond > > to xalan-dev > > > > > > > > > Hello eveybody: > > I'm newbie on Xerces-C and Xalan-C developing. > > I'm just doing a simple application, like SimpleTransform sample from > Xalan's samples. > > The code is merely like that: > > XalanTransformer::initialize(); > XMLPlatformUtils::Initialize(); > > const char* inFile = "foo.xml"; // With xsl stylesheet included > inside > const char* outFile = "output.html"; > > XalanTransformer transformer; > > int result = transformer.transform(inFile,outFile); > > XalanTransformer::terminate(); > XMLPlatformUtils::Terminate(); > > I try to use XalanTransformer object to transform a XML with XSL > stylesheet to a HTML output. > > XML and XSL files have ISO-8859-1 encoding, and have special symbols > like: �, �, etc. > > When I transform this XML with the XSL via Xalan-C and Xerces-C, I > achieve an .html file, well formed, but with all this symbols corrupted > like º instead of �, etc. > > When I see the encoding of the resultant output file I can see that the > encoding passed to the file, I supose that it's done by Xalan or Xerces, is > UTF-8. > > Yet, I don't use ICU, if I install ICU and rebuild Xalan (may I rebuild > Xerces-C too? If so, how?), it would work? > > I have to use some other XalanC classes? > > Please help a newbie. > > Thanks for advance. > > > Aitor Illarramendi Amilibia > > Ingeniero de software > Detecci�n, Mando y Control > > > > Carretera de Loeches, 9 > 28850 - Torrej�n de Ardoz, Madrid (ESPA�A) > Tel: +34-91-396.82.47 > Fax: +34-91-396.81.14 > [EMAIL PROTECTED] > www.indra.es > >
