FW: Question about conditional code (#ifdef NEVER)
"A.M. Sabuncu" <[email protected]> Fri, 21 Sep 2007 23:04:58 +0300
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
Thank you! I now understand what lexbuf is about - I was seeing references to it in the mailing list archive. I did try the GetText functions, but had problems declaring the buffers, and did not feel like spending time, but w/ the complexity of the code, I may have to go back to it. While on the subject, could you please suggest an XML parser? Regards - Todd > From: [email protected] > Historical and debugging. > They essentially just hide private members of the various structures. > Unless new functions have been added recently, there are just a few > functions that essentially pretty print nodes ala tidyNodeGetText; > they would give you text in some way, but you'd have e.g. special > characters escaped. Internally, the text is stored in the lexbuf and > individual node types point into the buffer. A simple even if in- > efficient way to get the text is to let Tidy convert the document to > XHTML and use an XML parser for further processing. > -- > Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de > Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de > 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tidy-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tidy-develop