This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: HTML in an XML tag
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 5 Sep 2002 13:32:40 -0400
- Subject: Re: [xsl] HTML in an XML tag
- References: <DF5F8B4DEA1A5044AE71C1F9F0CDAD5F120A1A@slurpy.tnow.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
[Mac Rost]
[[
Thank you for that example... how can I modify it to actually insert the
'break'into the html output? That way when it's displayed it wouldn't be
one long line?
]]
The stylesheet already inserts <br> elements in place of the <br>.
That gives you the line break. If you view the output in a browser, it is
not on eone line but rather broken up into the individual lines. If you
view the output in a text editor it is possible the entire text block would
be shown on one line but not in a browser.
For example, here is a fragment of the output showing the existence of
(real, not escaped) <br> elements:
Cherry Creek State Park 1 Block <br> -Aurora Mall 2 Miles <br>
If you want some other result you will have to be more clear about what you
want.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list