Hi,

 

Another beginner question I'm sure.  I can't figure out how to add an
encoding attribute to the document.

 

<?xml version="1.0" encoding="UTF-8"?>

 

I only have the following:

 

<?xml version="1.0"?>

 

Am I onto something with xmlNewDocProp?  I don't see how to add/link the
new attribute to the document.

 

Thanks for any help,

Steve

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to