W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2005

Question about Tidy Interface

From: Chris Woods <cwoods_eol@yahoo.com>
Date: Tue, 26 Apr 2005 14:12:39 -0400
To: html-tidy@w3.org
Message-ID: <d4m01p$jug$1@sea.gmane.org>
Perhaps this has been covered in the past already (if so, could someone post the related links)...

Are there any particular reasons as to why the following Node Interrogation functions require TidyDoc - when no other node or attribute functions do?

bool tidyNodeIsProp(TidyDoc tdoc, TidyNode tnod)
bool tidyNodeHasText(TidyDoc tdoc, TidyNode tnod)
bool tidyNodeGetText(TidyDoc tdoc, TidyNode tnod, TidyBuffer *buf)

I haven't delved into the source code regarding this functionality, but from an interface standpoint it seems to me that TidyNode should (in practice) contain everything that it needs to retrieve any aspect related to the Node - yet these APIs show that is not the case.

Thanks in Advance,
-Christopher M. Woods
cwoods underscore eol at yahoo dot com
Received on Tuesday, 26 April 2005 18:15:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC