Re: [xml] xmlParseFile;encode - newbie question



On Fri, Feb 25, 2005 at 01:14:01PM -0800, Fred Smith wrote:

Pardon the top-post, stupid mailer won't properly quote replied-to
mails.

Regarding the OP's question, How about xmlEncodeEntitiesReentrant() ??
Seems to do the job for me

  if you have a string, yes it will escape the predefined entities

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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