[XML4Lib] batch conversion of HTML files to XML

Robert H. Scheier rscheier at holycross.edu
Tue Jul 15 08:41:59 EDT 2008


I have also used XMLSpy to do some files, free to use for a limited 
time. Not sure there is a batch feature.

Bob

=========================
Bob Scheier
Electronic Resources Librarian
Dinand Library
College of the Holy Cross
1 College Street 
Worcester, Mass. 01610-2395
508-793-3495
rscheier at holycross.edu
=========================



John Fitzgibbon wrote:
>
> Hi,
>
> Is it possible to convert a folder of HTML files to XML without having 
> to edit each file with a text editor that supports regular 
> expressions? In the past this is how I accomplished this task but I am 
> hoping there is an easier way.
>
> The process would have to change tags like <br> to <br/>. Input tags 
> in forms would also have to be closed.
>
> It may have to close tags like <p> and <li>.
>
> Finally, attribute values are not necessarily bounded by quotes. For 
> example, width=200 will have to become width=”200”.
>
> Am I searching for a holy grail?
>
> Any advice would be much appreciated.
>
> Regards
>
> Jon
>
> w: www.galwaylibrary.ie
>
> e: info at galwaylibrary.ie
>
> p: 00 353 91 562471
>
> f: 00 353 91 565039
>
> ------------------------------------------------------------------------
> This e-mail message has been scanned for Contentand cleared by 
> *MailMarshal Hosted at Galway County Council*
> ------------------------------------------------------------------------
> ------------------------------------------------------------------------
>
> _______________________________________________
> XML4Lib mailing list
> XML4Lib at webjunction.org
> http://lists.webjunction.org/mailman/listinfo/xml4lib
>   




More information about the XML4Lib mailing list