[xmlsec] Default encoding
Aleksey Sanin
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
representation.
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
>
><?xml version="1.0"?>
>
>to the beginning of the result document.
>
Nothing is impossible, it's only software. I doubt that you can skip it
easily with
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.
Aleksey
More information about the xmlsec
mailing list