[xsd-users] Serialize - Sets the position of the put pointer

Boris Kolpackov boris at codesynthesis.com
Tue Oct 24 01:35:24 EDT 2006


Hi Cláudio,

Cláudio Margulhano <cmargulhano at gmail.com> writes:


> Can I set the position of the put pointer before writes on the stream?

Yes, it should be possible. Isn't it working? If not then it would be
helpful to know exactly what goes wrong; even more helpful would be a
small example that reproduces the problem.

You may also be interested in the xml_schema::flags::no_xml_declaration
flag which prevents the XML declaration (e.g., <?xml version="1.0"?>)
from being generated. It is usually useful when you want to produce an
XML fragment instead of a complete XML document.


hth,
-boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20061024/6960a884/attachment.pgp


More information about the xsd-users mailing list