I'm currently using cocoon 1.8 running on tomcat 3.2.1.
The UTF-8 characters were imbedded in the source XML. I have replaced them
with the numeric entity. Both give the same result - the named (character)
entity appears in the generated HTML. As I understand the process, the HTML
is generated as a final step and all non-displayable characters are
converted to one form of entity or another in the HTML.
There may be a way to convert the special characters in the XML to an
escaped form that can be passed without conversion all the way through. I
would like to avoid that if possible. I'm hoping there is some attribute of
xsl:output or a cocooon option that would allow the characters to be kept
in the original form (UTF-8 or numeric entity) but only the output
representation to HTML would be affected. I have a feeling there's
something very obvious that I'm missing.
Thanks
David
At 02:39 PM 8/30/01 -0400, you wrote:
>At 11:19 AM 8/30/2001 -0700, you wrote:
>>Because netscape 4.x does not support several character entities (e.g.
>>“), I would like to restrict the html output of my xslt scripts to
>>only numeric entities when processing xml. Is there any method for doing
>>this as an xslt or configuration parameter.
>
>What version of Cocoon are you using? Are you having trouble doing this
>now? Are you using the named entities in your code currently? Did you try
>switching to using the numeric ones in your code?
>-pete
>
>--
>peter royal -> [EMAIL PROTECTED]
>managing partners, inc. -> http://www.managingpartners.com
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>