c++ and canonical xml
-
Hello! I have to write a class in c++ which takes a char* as input, which is the content of an xml document, and gives back the canonical form of it without comments. The problem is: i have to use msxml 4.0 or older, i cannot use .net, libxml etc. I have been searching the web for a while now but nothing. If anybody could help me please do so.
-
Hello! I have to write a class in c++ which takes a char* as input, which is the content of an xml document, and gives back the canonical form of it without comments. The problem is: i have to use msxml 4.0 or older, i cannot use .net, libxml etc. I have been searching the web for a while now but nothing. If anybody could help me please do so.
Ruis Ngetal wrote: ...and gives back the canonical form of it without comments. Are you wanting to canonicalize the name of the XML file or its contents? If the latter, are the strings actually file paths or URLs?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
-
Ruis Ngetal wrote: ...and gives back the canonical form of it without comments. Are you wanting to canonicalize the name of the XML file or its contents? If the latter, are the strings actually file paths or URLs?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
Well i get a string like: " Hello, world! " with all the whitespaces and linefeeds and the like, and i have to give back something like this: " Hello, world! " normalizing the line feeds and whitespaces etc. as written in w3c's c14n standard (http://www.w3.org/TR/2001/REC-xml-c14n-20010315) so i have to make a c14n canonicalizer.
-
Well i get a string like: " Hello, world! " with all the whitespaces and linefeeds and the like, and i have to give back something like this: " Hello, world! " normalizing the line feeds and whitespaces etc. as written in w3c's c14n standard (http://www.w3.org/TR/2001/REC-xml-c14n-20010315) so i have to make a c14n canonicalizer.
Ruis Ngetal wrote: so i have to make a c14n canonicalizer. I wonder if the document's author, John Boyer, knows of any such utility.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb