Guys,

I've got a question I need to know if the serialization engine can have
features turned off.
This is a new question with a new set of objects, not related to the
previous question regarding serialization.

I'm building an xml document dynamically that I can use in SQL Server 2005's
Xml data type.
However, the objects that I'm serializing it puts this in it:

<?xml version="1.0" encoding="utf-16"?>
<Address xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; id="ff9cd59a-d3de-4178-bc86-e0b933f5858b"
AddressTypeID="f83bdc24-c8a0-460c-9e0f-925e03907cdd" City="Bigtown"
StateCode="NV" ZipCode="88888" Country="" />

I want to have it eliminate the <?xml...?>

and no xmlns:xsi or xmlns:xsd attribute.

Is this possible?

Thanks,
Mike

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to