OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML pretty printing in HTML

[ Lists Home | Date Index | Thread Index ]
  • From: Warren Hedley <w.hedley@auckland.ac.nz>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 08 Jul 1999 21:24:50 +1200

OK. This is probably the last message on this topic. I've hacked
together an HTML pretty printer in PERL, based on the code Matt
Sergeant sent to this thread a while ago, and made it available on
my website.

It doesn't even handle CDATA, entities or processing instructions,
but I don't really need these, and they shouldn't be very hard
to add (an exercise for the reader?).

If it's any use to anyone, you can grab the script and view an
example at

http://www.esc.auckland.ac.nz/People/Staff/Hedley/projects/xmlFormatter/index.html

Cheers

-- 
Warren Hedley
Department of Engineering Science
Auckland University
New Zealand

Tel   :(64 9) 373 7599 (x 5808)
Fax   :(64 9) 373 7468
Email : w.hedley@auckland.ac.nz
WWW   : http://purl.oclc.org/NET/whedley/
     or http://www.esc.auckland.ac.nz/People/Staff/Hedley/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS