You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by frofis <fr...@sdm.ru> on 2007/08/17 09:32:55 UTC

canonicalization

in libxml2:
len = xmlC14NDocDumpMemory(doc, NULL, 1, &inclusive_ns_prefixes_val, 0, 
&canonicalized_image);
As it to make in xerces-c?


Re: canonicalization

Posted by frofis <fr...@sdm.ru>.
frofis <frofis <at> sdm.ru> writes:

> 
> Vitaly Prapirny <marl <at> mebius.net> writes:
> 
> > Please use xml-security source code and documentation for further
> > details and xml-security mail lists for asking questions about it.
> > 
> 
> Thanks
> 
> 

Whether instead of exists the project under C ++ Builder
or
help to connect xsec_1.lib to C ++ Builder
implib does not help



Re: canonicalization

Posted by frofis <fr...@sdm.ru>.
Vitaly Prapirny <marl <at> mebius.net> writes:


> Please use xml-security source code and documentation for further
> details and xml-security mail lists for asking questions about it.
> 

Thanks




Re: canonicalization

Posted by Vitaly Prapirny <ma...@mebius.net>.
frofis wrote:
>> You could use the xml-security library which provide canonicalization
>> facility for the xerces-c DOMDocument.
> Thanks and as it will look in a code
This piece of code is from xml-security c14n tool source code:

	XSECC14n20010315 canon(theDOM);
	char buffer[512];
	int res = canon.outputBuffer((unsigned char *) buffer, 128);
	while (res != 0) {
		buffer[res] = '\0';
		cout << buffer;
		res = canon.outputBuffer((unsigned char *) buffer, 128);
	}

Please use xml-security source code and documentation for further
details and xml-security mail lists for asking questions about it.

Good luck!
	Vitaly

Re: canonicalization

Posted by frofis <fr...@sdm.ru>.
Vitaly Prapirny <marl <at> mebius.net> writes:

> You could use the xml-security library which provide canonicalization
> facility for the xerces-c DOMDocument.
> 
> Good luck!
> 	Vitaly

Thanks and as it will look in a code





Re: canonicalization

Posted by Vitaly Prapirny <ma...@mebius.net>.
Hi,
frofis wrote:
> in libxml2:
> len = xmlC14NDocDumpMemory(doc, NULL, 1, &inclusive_ns_prefixes_val, 0, 
> &canonicalized_image);
> As it to make in xerces-c?
> 

You could use the xml-security library which provide canonicalization
facility for the xerces-c DOMDocument.

Good luck!
	Vitaly