Re: [xml] How to use c14n features?
- From: Tae-In Kim <sappho192 gmail com>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] How to use c14n features?
- Date: Wed, 30 Mar 2016 08:19:13 +0000
Hi,
Sorry, I looked over the result of xmllint.exe. For example it has been changed like
I think it's been canonicalized. Thanks.
Hi,
Thank you for your reply and sorry for my late mail.
I've executed xmllint with my xml file, but the result of --c14n was nearly same with original xml content. --c14n just removed following text:
`
<?xml version="1.0" encoding="UTF-8"?>
`
To say my situation accurately, I want to tell that my xml document is SOAP document and every node has namespace like "SOAP" or "ds" or else...
Do I need to do something more to do c14n?
Thank you.
On Tue, Mar 15, 2016 at 05:06:13AM +0000, Tae-In Kim wrote:
> Hi,
>
> I'm in first use of libxml2 and want to use c14n features in "c14n.h". I
> tried to find some references to use them but couldn't make it.
> Can you please tell me where to get it or help me to use it?
Look at the code for xmllint.c in the source and around line 2573
for one way to save. If xmllint --c14n does what you want you can just
copy the code
Daniel
--
Daniel Veillard | Open Source and Standards, Red Hat
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]