Subject: RE: [xsl] output xhtml with html style entities From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Sat, 19 Jan 2002 21:56:26 -0000 |
There is no way of forcing entity references to be output, either in HTML or in XHTML output, because they are not part of the data model. Saxon provides some extensions for controlling it with HTML (though it seems that what it does by default is the format you happen to prefer), but in XHTML it's more difficult because you have to generate the DOCTYPE declaration as well. Why does it matter to you whether special characters are output as entity references, numeric character references, or as native Unicode characters? Mike Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Thomas > Winkler > Sent: 19 January 2002 18:44 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] output xhtml with html style entities > > > what would be the best way to output xhtml with xhtml/html entity > references? if you use xml output, what you need for generating xhtml, > the output is serialized into the defined character set, what > is indeed > what i expect. > > when you use html as output method the entities are per definition in > the generated document, but the xhtml code is "reduced" to > html. what i > mean is that the output is not well formed xml as intended. > > so what would be the best way, or am i missing something? > > even though saxon supports xhtml as output method its not > generating the > desired output. actually i am not looking for a saxon "only" solution, > although i prefer saxon. > > thank you once again, > thomas > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] output xhtml with html st, Thomas Winkler | Thread | [xsl] Is XSLT complete Q?, Jakub . Valenta |
RE: [xsl] XML SPY, Michael Kay | Date | Re: [xsl] Re: NMTOKENS enumeration?, Martijn |
Month |