[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: hi!
In message <9706140601.AA10887@M...> Hyung-Jin Kim writes: > I'm new to this list so I apologize if this question has been answered already: We have not had enough discussion about HTML on this list - and I, for one, would like version(s) of XMLised DTDs and documents. > > I was wondering if anyone knew of an parser that made well-formed XML files > from HTML files. I know of a few tools that can DETECT mal-formed tags in > HTML (i.e. weblint) but is there a tool that will do the conversion? > Thanks! Please reply directly to me. Mal-formed HTML (i.e. non-conforming SGML) is outside the scope of this list :-). However, converting legal HTML (i.e. conforming SGML) to XML is a valid activity and it could be useful to get feedback. It normally requires a DTD (for example <!Element body o o (%body.content;)> means that <BODY> tags are frequently omitted. There is also the question of what to do with EMPTY tags such as <HR>. Does it matter if they are rendered as <HR/> or, say <HR> </HR> ? I convinced myself that it did, in that the first has no child, while the second could have a PCDATA child of value "\n" - at least in WF documents? What is its value in <HR></HR>? Could someone more authoritative give an overview of the XML-isation of HTML? I need HT(X)ML to provide the text sections for CML... P. -- Peter Murray-Rust, domestic net connection Virtual School of Molecular Sciences http://www.vsms.nottingham.ac.uk/ xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...) |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|