xsl-list
[Top] [All Lists]

RE: mixture of XML and HTML in result

2004-01-08 14:10:02
Maybe this would work, instead of   

<xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>

Worth a try...
KP

-----Original Message-----
From: Larry_Mason(_at_)i2(_dot_)com [mailto:Larry_Mason(_at_)i2(_dot_)com] 
Sent: Thursday, January 08, 2004 9:55 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] mixture of XML and HTML in result





I need to build a page containing both html and xml.  In order for the
proper xml to be built, I must use the xsl output of xml.  However, I
also
need non-breaking spaces within the html sections.  What I can't
determine
is how to litterally emit &#160; in the result.
<xsl:text>&#160;</xsl:text> works fine only when the output method is
html.
Thoughts?
Larry

abbreviated goal looks something like this:
<html>
<body>
<table>
<tr>
<td>
Tree here<br/>
&#160;grandparent<br/>
&#160;&#160;parent<br/>
&#160;&#160;&#160;child<br/>
</td>
<td>
<object>
<param name="input"><xmldata><name/><name/><name/></xmldata></param>
</object>
</td>
</tr>
</table>
</body>
</html>


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


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