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

Embedding HTML in XML documents using HTML dtd

Subject: Embedding HTML in XML documents using HTML dtd
From: pmitra <pmitra@xxxxxxxxxxxxxxxxx>
Date: Fri, 06 Oct 2000 10:49:39 -0700
using html in xml documents
Hello,
   I posted a previous message here regarding the following topic, and
got some helpful answers, but I would like to do the following only in a
specific way. Please help me out if anyone knows how to do this:

I would like to enable HTML tags within my XML file - using the HTML
dtd. For example, if there is a list in the XML:
<list>
<UL>
            <LI>List item 1</LI>
            <LI>List item 2</LI>
            </UL>
</list>

What do I have to add to the XML, the DTD and the XSL to be able to
convert this to a list when I generate an HTML file using xalan? I would
like to use the HTML dtd to make this work.

I am currently using the whole section starting at <UL> to </UL> within
a ![CDATA[    ]] element, and reading the output in xsl with 
 <xsl:for-each select="list">
<xsl:value-of disable-output-escaping="yes" select="."/>
</xsl:for-each>
This works, but we would prefer the solution of using the HTML dtd,
except I am not sure how to implement that.

Thanks,
Sincerely,
Mila Mitra
pmitra@xxxxxxxxxxxxxxxxx


 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.