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

Re: Processing HTML files within XML files

Subject: Re: Processing HTML files within XML files
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Mar 2000 21:20:52 -0800
html within xml
At 00/02/26 10:21 +0000, ural wrote:
I got a problem with XML. I will explain it in this way.
My xml file.
<?xml version="1.0">
<xyz>
<content>
<title>something</title>
<fulltext>all html tags etc</fulltext>
</content>
</xyz>
Here, in this full text node I am putting all my html tags. The problem is if any of the tags are not closed then my
xml file will not be generated properly.

This sounds like it isn't an XSLT question at all ... probably out of scope for this mail list, yet the answer may be useful to readers.


Because of it I cannot continue accessing xml. Is there any way to solve this problem?

You can use HTML Tidy to convert existing HTML into XML:


http://www.w3.org/People/Raggett/tidy/

Tidy will also repair some errors and report errors it cannot repair in your HTML. The output can be configured to be well-formed XML. The output of the program can then be included in an XML document.

will any attribute in dtd will help me out in this.

No.


I hope this helps.

............... Ken

--
G. Ken Holman                    mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath      ISBN 1-894049-04-7
Next instructor-led training:    2000-05-02,2000-05-11/12,2000-05-15,
-                                    2000-06-12,2000-06-13,2001-01-27


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
  • [no subject]
    • ural - Sat, 26 Feb 2000 10:21:19 +0000
      • G. Ken Holman - Tue, 07 Mar 2000 21:20:52 -0800 <=

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.