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

Received on Friday, 22 July 2005 13:09:05 UTC