Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML DOM: I'm doing it all wrong, right?

From: Joe Kesselman <keshlam-nospam@-------.--->
To: NULL
Date: 8/3/2007 8:55:00 PM

goodstufffilms@g... wrote:
> A friend I work with recommended I implement XML DOM.

Uhm. Do you really mean "implement" or "use the interfaces of"?

> loadXMLDoc(), is a read-in of a block of text with no
> preservation of extra spaces or returns.

XML will preserve only information which is meaningful to XML. That does 
mean some (not all) whitespace will be disarded. If that isn't what you 
want, you either mis-structured your XML document or you don't want XML.

> What function or code should I use to retrieve data from a .txt
> or .xml file

There are lots of good tutorials at http://www.ibm.com, starting from 
"what is XML anyway" and working up through basic tools to fairly 
sophisticated applications. I highly recommend that you do some homework.

What you're "doing all wrong" is that you're starting at the last moment.


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent