Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Newbie question - XML/DOM as "internal" data

Reply
Thread Tools

Newbie question - XML/DOM as "internal" data

 
 
Ghee
Guest
Posts: n/a
 
      05-28-2004
Hello again, comp.text.xml,

Another newbie question, I'm afraid...

All of the examples I've seen of XML and applications deal with
converting XML to and from the way your application stores data
internally. However, do people ever actually use, say, DOM, to hold the
data for the application, thus avoiding the XML->internal data->XML
conversion? In theory, DOM looks like it could work like this; but how
does it pan out in practice?

Ghee
 
Reply With Quote
 
 
 
 
Rolf Magnus
Guest
Posts: n/a
 
      05-29-2004
Ghee wrote:

> Hello again, comp.text.xml,
>
> Another newbie question, I'm afraid...
>
> All of the examples I've seen of XML and applications deal with
> converting XML to and from the way your application stores data
> internally. However, do people ever actually use, say, DOM, to hold
> the data for the application, thus avoiding the XML->internal
> data->XML conversion?


I guess that web browsers do it this way, and of course XML editors

> In theory, DOM looks like it could work like this; but
> how does it pan out in practice?


I don't know, but I was wonding about that, too. It looks to me as if
it's a lot more work to directly handle the DOM tree instead of using
an internal data format. The advantage however would be that you can
easily leave data that your app doesn't understand or use unchanged so
it can still write that data to the target file. This data would be
lost if the DOM tree goes through an intermediate conversion to an
internal data structure and back.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VONAGE Newbie w/newbie question New_kid@nowhere.new VOIP 0 08-11-2007 01:40 PM
another newbie question from another newbie.... Lee UK VOIP 4 05-17-2005 04:10 PM
newbie: cisco vlan newbie question No Spam Cisco 3 06-07-2004 10:02 AM
Newbie question on available IE data and staus flags in Perl DG Perl 0 05-27-2004 08:37 PM
dumb newbie question (or newbie dumb question) Jerry C. Perl Misc 8 11-23-2003 04:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57