[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Trees versus event streams
[Peter Murray-Rust (Peter@u...), Thu, 27 Feb 1997] > My current problem may highlight this. A CML document is highly > tree-structured and contains no mixed content, so that eventStreams don't > contribute much. BUT it also includes chunks of HTML where a tree > structure is quite inappropriate. If I take a Lark-based approach (or my > own parser) the HTML gets rendered into a tree. I am now hacking this > back into an event stream to render the hypertext. Not only does it > take more effort, but I'm sure that holding HTML as a tree has a > memory hit. Ideally when I'm parsing CML, and come to the > tag <XHTML> (sic) which contains <BODY>, I'd like to tell the parser > 'stop parsing as a tree and just hold a hypertext string until </XHTML>
|
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
|