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

RE: XML -> HTML with paragraphs

Subject: RE: XML -> HTML with paragraphs
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 10 Sep 2001 21:24:24 +0100
put xml in html
The best answer is to mark up the text using a subset of XHTML tags, using
proper XML encoding rules (e.g. always include an end tag, always put quotes
round attribute values). Then you will be using pure XML, and an
<xsl:copy-of> will enable you to copy the XHTML chunks straight into an
XHTML or HTML output file.

Mike Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> Joshua Miller
> Sent: 10 September 2001 19:59
> To: Xsl-List@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  XML -> HTML with paragraphs
>
>
> I have an XML document with the following structure:
>
> <item title="Searching the Site" id="2">
> 	<helpfile>
> 		Text input into paragraphs.
>
> 		Text input into paragraphs.
>
> 	</helpfile>
> </item>
>
> And I want to display the contents of <helpfile> as HTML with
> <p> tags to
> separate the paragraphs. However, I can't seem to make this
> work. I've tried
> adding <p> tags to the text (yeah, I know, this doesn't work).
>
> What I really need to know I guess, is how to put HTML into
> an XML document
> and make it display as HTML and not as escaped html
> (&gt;/&lt;) ... is this
> even possible? I want to store helpfile information in an XML
> document, but
> I need figures and links and images in the output ... how do
> I make this
> work? Or is XML not the answer here?
>
> Joshua Miller
> Web Development::Programming
> Eagle Technologies Group, Inc.
> www.eagletgi.com
> josh.miller@xxxxxxxxxxxx
>
>
>  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.