471,599 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Remove XML tags while serializing....

Hello all, I have what appears to be a simple question but after quite
a bit of research I can't seem to find an answer.

Basically, I am serializing a class into an XML document. This is
creating a XML doc that includes the following:


What I would like to do, is to remove the <buffer> tags while
serializing, so that only the data would be present. Because of the
structure of the pre-existing XML, I can't change buffer to just
include it in the Document class.

So is there a command, function, or the like that I can pass to the
XMLWRiter, or set where I declare "buffer", that will cause the tags
not to be written?

Thank you very much.

Chris Olson

Nov 17 '05 #1
0 1272

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Anders Borum | last post: by
3 posts views Thread by ad | last post: by
1 post views Thread by shapper | last post: by
11 posts views Thread by David | last post: by
3 posts views Thread by junkchiu | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.