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

RE: [xsl] mixture of XML and HTML in result


Subject: RE: [xsl] mixture of XML and HTML in result
From: "Kyle Partridge" <kpartridge@xxxxxxxxxxxx>
Date: Thu, 8 Jan 2004 16:10:02 -0500

Maybe this would work, instead of &#160; 

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

Worth a try...
KP

-----Original Message-----
From: Larry_Mason@xxxxxx [mailto:Larry_Mason@xxxxxx] 
Sent: Thursday, January 08, 2004 9:55 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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



Current Thread
Keywords