[dba-VB] XML DOM to string?

Francisco Tapia fhtapia at gmail.com
Mon Aug 29 13:25:16 CDT 2005

I'm messing around w/ XML and it's quite late I suppose since there
really is so much I do not know... what I'm trying to do, I have a
class that I use to create a complex XML, that is:

I can save my xmldom object down to a file, but then I'd have to
re-open it and read it all back into a string, and I wondered since
it's in memory if I can just somehow save it to a string instead...
any clues?

- <Header>
  <CompanyName /> 
  <UserType /> 
  <UserNo /> 
  <Address1 /> 
  <Address2 /> 
  <Address3 /> 
  <City /> 
  <State /> 
  <Zip /> 
  <Country /> 
  <Contact /> 
  <Phone /> 
  <Notes /> 
  <ShipMethod /> 
  <PurchaseOrder /> 
  <ShipToID /> 
  <SchedDate /> 
  <Freight /> 
- <OrderItems>
- <WSOrderItem>
- <WSOrderItem>
- <WSOrderItem>

http://pcthis.blogspot.com |PC news with out the jargon!
http://sqlthis.blogspot.com | Tsql and More...

More information about the dba-VB mailing list