[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: HTML in an XML tag

Subject: RE: HTML in an XML tag
From: "Mac Rost" <mrost@xxxxxxxxxxxxx>
Date: Thu, 5 Sep 2002 13:22:29 -0500
xml gt
[[Tom
The stylesheet already inserts <br> elements in place of the &lt;br&gt;.
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.
]]

Sorry if I'm being a little dense today... :-) here is what I get:
<div>Area Attractions:
- Denver Zoo, 4 miles &amp;lt;br&amp;gt; - Museum of Natural Science, 4
miles &amp;lt;br&amp;gt; - Coors Field, 7 miles &amp;lt;br&amp;gt; -
Invesco Field, 7 miles &amp;lt;br&amp;gt; - Pepsi Center, 7 miles
&amp;lt;br&amp;gt; - National Western Complex, 2 miles
&amp;lt;br&amp;gt; - Downtown Denver, 8 miles &amp;lt;br&amp;gt; - Six
Flags Elitch Gardens, 7 miles &amp;lt;br&amp;gt; - Ocean Journey, 7
miles &amp;lt;br&amp;gt; - Cherry Creek Mall, 5 miles &amp;lt;br&amp;gt;
- U.S. Mint, 8 miles &amp;lt;br&amp;gt; - Capital, 8 miles
&amp;lt;br&amp;gt; - Botanic Gardens, 8 miles &amp;lt;br&amp;gt; - UAL
Flight Training Center, .5 miles &amp;lt;br&amp;gt;</div>
This is what was returned after processing... any ideas?(It's like this
in a browser too)
Mac


 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.