xsl-list
[Top] [All Lists]

RE: Empty object

2004-01-27 17:19:32


input xml file contains elements that are not empty but contain  

Thanks. This is becoming clearer.

<OBJECT>&nbsp;</OBJECT> This nonbreaking space character is needed to 
keep the space in this element.

How is the nbsp entity defined in your DTD?

When I run my transform the XHTML output contains 
<OBJECT>nbsp;</OBJECT> 
which of course is wrong. I need the final XHTML output to contain 
<OBJECT>&nbsp;</OBJECT>.

I can tell you what's wrong with your XSL code if you show me your XSL
code.

You shouldn't need to do anything. The default action on text nodes is
to copy them unchanged, and this will produce the right effect.

Michael Kay


What do I need to add to my transform to assure that when my OBJECT 
element contains a nonbreaking space character ; my transformed XHTML 
output contains <OBJECT>&nbsp;</OBJECT>.

- Scott

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>