xsl-list
[Top] [All Lists]

Re: Empty object

2004-01-28 10:22:17
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.

David


Dan,

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?

Sincerely,

Scott

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



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