Re: [xml] change the property value (attribute)



On 27 Nov 21:24, Senthil Nathan wrote:
}    // set the attribute for the parent
}    xmlNewProp(pnode, (const xmlChar*)"apply", (const xmlChar*)"1");
}
}How can I set the same attribute, apply=0 (instead of 1), with the
}xmlNodePtr.
}I checked the api list, but it needs the xmlAttrPtr either for xmlFreeProp
}or xmlRemoveProp.

xmlSetProp perhaps?

regards,
    Callum

-- 

Callum Gibson @ home




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]