XSL transformation.

R

rajani

I have a query regarding the XSL transformation.

My application is in .NET. We are using XSL to render the contents receieved
from the content server (Vignette).

I have a source XML and the corresponding XSLT to transform and render the
contents.

The following ASCII characters are not recogonzied by XSL Transform

and they are rendered as '?' on the Web Page

© ® 

I tried setting the output using <XSL:OUTPUT></XSL:OUTPUT>.

But, still i'm getting '???" in the web page.

Do i need to do something in the .NET code behind, while doing the XSL

Transformation ???

thanks in advance

Rajani
 
M

Marc Scheuner [MVP ADSI]

I have a query regarding the XSL transformation.
The following ASCII characters are not recogonzied by XSL Transform

One thing you need to make sure is that both the XML and the XSL
documents are using the same encoding.

Check their contents - do you see a tag <?xml...?> on their first
line? Does it specify the encoding? Is it the same for both documents?

E.g. mine would read:

<?xml version="1.0" encoding="ISO-8859-1"?>

ISO-8859-1 is the "extended" ASCII character set for Western Europe,
with German umlauts etc. - if I omit that, I get all sorts of crappy
results....

Another good choice would be

<?xml version="1.0" encoding="UTF-8"?>

Which would use Unicode to represent your characters.

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top