Subject: RE: [xsl] Empty object From: "Michael Kay" <mhk@xxxxxxxxx> Date: Wed, 28 Jan 2004 00:19:32 -0000 |
> > 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, scott gabelhart | Thread | Re: [xsl] Empty object, scott gabelhart |
Re: [xsl] No html if XSD present?, Robert Koberg | Date | RE: [xsl] real XSLT performance, Michael Kay |
Month |