• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A little Advice about Recording informations in XML.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A little Advice about Recording informations in XML.


  • Subject: Re: A little Advice about Recording informations in XML.
  • From: Phillip Mills <email@hidden>
  • Date: Tue, 16 Dec 2003 07:59:43 -0500

On Tuesday, December 16, 2003, at 03:13 AM, Roberto wrote:

When the user press the button save, the article must be saved into the XML file, but the XML file must preserve all the old articles archived.

1) Load the existing file, create new nodes where you need them, write it all out again. Or...
2) Copy the old file to a new file and use SAX-like events to know where to insert new information. Or...
3) Maybe, if it's something you're doing often, an XML database.

<http://www.xmldb.org/xupdate/> (Just speculating; I haven't actually used it.)

........................
Phillip Mills
Multi-platform software development
(416) 224-0714
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >A little Advice about Recording informations in XML. (From: Roberto <email@hidden>)

  • Prev by Date: Re: A little Advice about Recording informations in XML.
  • Next by Date: NSTableView + Scroll wheel problem on G5
  • Previous by thread: Re: A little Advice about Recording informations in XML.
  • Next by thread: Re: A little Advice about Recording informations in XML.
  • Index(es):
    • Date
    • Thread