[xmlsec] Default encoding
aleksey at aleksey.com
Thu Apr 17 07:57:46 PDT 2003
>Can I specify the desired output encoding without adding
><?xml version="1.0" encoding="UTF-8"?>
>to the document?
You can do it when you serialize document from internal LibXML2
Read "encoding" documentation on http://xmlsoft.org for details. But I
am not sure
that you'll be able to avoid "<?xml ...?>".
>I'd like to tune up by means of xmlsec without affecting a result XML.
>Also it is necessary for me to avoid adding a string
>to the beginning of the result document.
Nothing is impossible, it's only software. I doubt that you can skip it
LibXML2 thought I never tried it myself. Look in the sources or ask
Daniel in the LibXML2
mailing list, there might be a simple solution.
More information about the xmlsec