[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Daniel Newman wrote:
no no; © means nothing to the browser natively. if u are using entities; your © entity should be properly defined in a dtd or doctype tag.
using © should give u the correct copyright symbol
first off does the following listing work in your browser
it should, if it doesn't something wrong with your browser ( maybe char encoding ).
some steps to do
a) to make sure your output is html use the <xsl:output method="html"/>
b) make sure your encoding attribute of xml and xsl is correct, set to utf-8 or iso-8859-1
c) your can define doctype-public and doctype-system in xsl:output tag
d) goto faq http://www.dpawson.co.uk/xsl/N3353.html
cheers, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
copyright symbol was Re: [xsl] XSLT hosting
Subject: copyright symbol was Re: [xsl] XSLT hosting From: cutlass <cutlass@xxxxxxxxxxx> Date: Wed, 04 Apr 2001 11:52:04 +0100 |
Daniel Newman wrote:
Hi guys,
hope you can help with this easy question, because it's confusing the hell out of me.
I was getting a (The style sheet does not contain a document element. The style sheet may be empty, or it may not be a well-formed XML document.) error. I know this is due to an © tag I've got in there, that I just want to pass to the HTML page. Now, I can get around the processing problem by using the © tag. This does in fact produce a copyright character in the source of my HTML, but, the character is NOT being displayed by the html. I think the only way around this is to push © direct to the html source, without it being converted into the C character by the XML parser.
no no; © means nothing to the browser natively. if u are using entities; your © entity should be properly defined in a dtd or doctype tag.
using © should give u the correct copyright symbol
first off does the following listing work in your browser
<html> <body> © </body> </html>
it should, if it doesn't something wrong with your browser ( maybe char encoding ).
some steps to do
a) to make sure your output is html use the <xsl:output method="html"/>
b) make sure your encoding attribute of xml and xsl is correct, set to utf-8 or iso-8859-1
c) your can define doctype-public and doctype-system in xsl:output tag
d) goto faq http://www.dpawson.co.uk/xsl/N3353.html
cheers, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT hosting, Daniel Newman | Thread | RE: copyright symbol was Re: [xsl] , Daniel Newman |
[xsl] IE msxml3 error with xsl tran, cutlass | Date | Re: [xsl] XSLT hosting, David Carlisle |
Month |