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

Re: any good solution for covert html file into xml fi

Subject: Re: [xsl] any good solution for covert html file into xml file.
From: Larry Garfield <lgarfiel@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Aug 2002 06:45:38 -0500
garfield solution
First question, is the HTML document sufficiently structured already
that you can extract the needed information?  If not, then you're
looking at a headache no matter what you do. :-)

First things first, convert the html files into xhtml files, to make
them XSLT parsable.  HTML Tidy now does XHTML, I think.  If the files
are already clean HTML and not something that happens to produce the
right output in IE by sheer luck, then a Perl script could probably do
it for you as well.

After that, figure out what the mapping is between the elements and
structure of your XHTML file and the target DTD, then go at it a piece
at a time in XSLT, divide-and-conquer style.

I really can't be more specific without knowing more about your project,
but hopefully that should point you in the right general direction.

stoneson wrote:
> 
> Hello all:
> 
> I have to translate all html file into xml source with given formate and dtd. Is anyone have any good solution??
> = = = = = = = = = = = = = = = = = = = =

-- 
Larry Garfield			AIM: LOLG42
lgarfiel@xxxxxxxxxxxxxxxxxxx	ICQ: 6817012

-- "If at first you don't succeed, skydiving isn't for you." :-)

 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.