[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Empty object

Subject: Re: [xsl] Empty object
From: scott gabelhart <swgabel@xxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 12:22:17 -0500

David Carlisle wrote:

in the xml file of course don't appear in my transformed output.

why "of course" ??

The default behaviour of xslt is to copy character data
so if it isn't being copied you presumably have a template that is
explictly not copying it.

Again do you really have

<!DOCTYPE holdspace [<!ENTITY nbsp "& n b s p ;">]>

or has your mailer changed & # 1 6 0 ; to nbsp.
As shown your entity file is defining nbsp to be nbsp.



I have tried the following combinations:

xml file:

<!DOCTYPE holdspace[<!ENTITY nbsp "&nbsp ;">]> <--no spaces &nbsp;
when I view this xml file I see <OBJECT>&nbsp;</OBJECT>

my transform I have tried with both declaring this holdspace and not. The resulting output from my transform removes the &nbsp; between my OBJECT tags. I want to keep the &nbsp; in my output between my OBJECT tag so when I open this output file I see <OBJECT>&nbsp;</OBJECT>

How do I accomplish this in my stylesheet?



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

Current Thread