- From: Dragos CIULICA <dragos@ciulica.ro>
- Date: Sat, 23 Jul 2005 00:25:30 +0300
- To: "'Cory Nelson'" <phrosty@gmail.com>, <jsmith95324@yahoo.com>
- Cc: <html-tidy@w3.org>
Tried but it looks like the function you provided (tidyAttrToImpl) it is not exported. At least, not in the version I downloaded from tidy.sourceforge.net. Tried to find it with "Dependency Walker" from MS, and also tried to find in headers and in source code. Thanks, Dragos. -----Original Message----- From: Cory Nelson [mailto:phrosty@gmail.com] Sent: 22 iulie 2005 15:42 To: dragos@ciulica.ro Cc: html-tidy@w3.org Subject: Re: Ways to alter document. No. But it's easy to do. void tidySetAttrValue( TidyAttr tattr, ctmbstr newvalue ) { size_t length=strlen(newvalue)+1; AttVal* attval = tidyAttrToImpl( tattr ); if(attval->value) attval->value=MemRealloc(attval->value, length); else attval->value=MemAlloc(length); memcpy(attval->value, newvalue, length); } On 7/21/05, Dragos CIULICA <dragos@ciulica.ro> wrote: > > hi! Are there some ways to alter existing document? The equivalent of > tidyGetAttribute for set? > > Thanks, > Dragos CIULICA. > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: > 21.07.2005 > -- Cory Nelson http://www.int64.org -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: 21.07.2005 -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: 21.07.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: 21.07.2005
Received on Friday, 22 July 2005 21:25:44 UTC