[xsd-users] xml_schema::flags::no_xml_declaration leaves blank line

Stephen James Stephen.James at genband.com
Tue Dec 15 17:45:15 EST 2009


I am serializing my xml with:

acbtcap(ss, out, map, "UTF-8", xml_schema::flags::no_xml_declaration);

and instead of omitting the <?xml ...> line it just omits the contents.
I am still left with the blank line (\n).

Also, how can I eliminate the xmlns: and xsi: contents below (bandwidth
limited transport.

<acbtcap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="acbtcap.xsd"/>



More information about the xsd-users mailing list