Subject: Re: [xsl] Empty object From: scott gabelhart <swgabel@xxxxxxxxxxxx> Date: Tue, 27 Jan 2004 19:50:12 -0500 |
Michael,input xml file contains elements that are not empty but contain
Thanks. This is becoming clearer.
<OBJECT> </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> </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> </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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Empty object, Michael Kay | Thread | RE: [xsl] Empty object, Michael Kay |
Re: [xsl] No html if XSD present?, G. Ken Holman | Date | [xsl] Simple XML transformation adv, Peter Dalmaris |
Month |