My mail program screwed up and I didn't notice, I sent this individually to Markus 
instead of the list, so I'm just copying the message over and seding it here...

Message:
After looking at what I wrote I realised that it was a bit unclear.
I want the output HTML document to have the " " entities left
in it. �Would the hexadecimal representation of "&" be evaluated to
"&" during the XSL transformation? �if so then "&<&asHex>;nbsp;"
should work shouldn't it? �As should be apparent I don't know the
hexadecimal value of "&". �;)


Chris Golden

>On Wed, 13 Feb 2002 16:14:25 +0100, Markus Spath wrote:
>>hi,
>>
>>Christopher M. Golden wrote:
>>
>>
>>>�My biggest confusion is with trying to get HTML entities to
>>>display correctly in the HTML output. ��I'm trying to put a number
>>>of &nbsp; entities in there for the final product, but it bitches
>>>at me if I leave them in that form in the XSL file and if I use
>>>"&amp;nbsp;" then it doesn't evaluate the "&amp;" in the output! �I
>>>need to be able to do complex spacing and I want the output HTML as
>>>compatible as possible with a JEditorPane's HTML display.
>>>
>>
>>
>>you could try to set the output method to html as mentioned and use
>>the decimal
>>or hexadecimal character references (&#160; for &nbsp;) instead of
>>the (html)
>>entity references. the transformer should insert them correctly in
>>the result tree.
>>
>>hope that helps,
>>Markus
>>
>>
>>
>



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to