|
Re: Using tidy for editing html: msg#00011web.html-tidy.devel
* Vincent Finn wrote: >I am using the C++ binding and it only seems to have read >functionality. Is that an oversight or is there a design >reason for it? That's correct, Tidy does not expose such functionality. Also note that the read functionality is not complete, you cannot access the content of text nodes, for example. >Essentially I want to know is there any inherent restriction in >the design that would make adding functions like NewNode, >CloneNode and RemoveNode to the C++ classes a bad idea? Well, Tidy is not really designed to enable this, so you would need some hacks to make Tidy expose this in a good manner. It seems the current developers are neither very interested in this and not committed to maintaining such functionality. It should be possible, but you are generally better off with simply converting Tidy's internal DOM to some other DOM structure. -- Björn Höhrmann · mailto:bjoern@xxxxxxxxxxxx · 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/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Using tidy for editing html: 00011, Vincent Finn |
|---|---|
| Next by Date: | Re: Using tidy for editing html: 00011, Charlie Reitzel |
| Previous by Thread: | Using tidy for editing htmli: 00011, Vincent Finn |
| Next by Thread: | Re: Using tidy for editing html: 00011, Vincent Finn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |