Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XML DOM: I'm doing it all wrong, right? [Thread Next] Re: XML DOM: I'm doing it all wrong, right?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
