This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: html2xml?


On Wed, Mar 27, 2002 at 09:10:33AM +0200, Jarkko Moilanen wrote:
> Hi!
> 
> Has anyone done html to xml transformation?
> Is it possible? If yes...how? A small example would be great =)

  if you use xsltproc, it has a --html option which instructs
it to use the HTML parser of libxml to build the document tree
which is then used by the XSLT engine as the document input.
  I actualy maintain the xmlsoft.org pages that way, the raw
content is maintained as a single HTML document with amaya and then
I use an XSLT stylesheet to chunk it and apply HTML formatting and
style for the resulting pages.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]