ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
RE: [BULK] - Re: Deleting a Node
by Ali Mesdaq other posts by this author
Nov 13 2006 10:41AM messages near this date
view in the new Beta List Site
Re: [BULK] - Re: Deleting a Node | Re: [BULK] - Re: Deleting a Node
& XSLT Well a DB is really way over doing what I need. The process that is
running will be running on a temporary computer and it will be wiped out
after each complete run. Performance is also not really that important.

Ideally what I would like to do is just iterate through the list of
nodes and just delete and commit to disk. But it starting to sound like
libxml is not meant for writing to disk or manipulating xml that is
meant to be written back to disk. 

-----Original Message-----
From: Robin Berjon [mailto:robin@[...].com] 
Sent: Monday, November 13, 2006 10:15 AM
To: Mesdaq, Ali
Cc: perl-xml@[...].com
Subject: Re: [BULK] - Re: Deleting a Node

On Nov 13, 2006, at 18:54, Mesdaq, Ali wrote:
>  Will this commit to the file right away?

No, XML processing does not normally commit back to file. If you want  
to do that you'll have to write the file back yourself with every  
single modification, which is going to be slow. You probably want a  
database if that's what you need.

-- 
Robin Berjon - http://berjon.com/
------------------------------------------------------------------------
"In the beginning the universe was created. This has been widely
  criticised and generally regarded as a bad move."
                         -- Douglas Adams


_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Ali Mesdaq
Liam Quin
Bruce Miller
Chilkat Software
Ali Mesdaq
Robin Berjon
Ali Mesdaq
Bruce Miller
Ali Mesdaq
Bruce Miller
Ali Mesdaq
John Saylor

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved