Deleting nodes from HDF
Rick Walsh <[email protected]> Thu, 11 Jun 2009 21:02:32 -0400
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm using an HDF file to store account info and I wanted to know if there's
an easy way to delete nodes and re-order. For example:
Accounts{
0{ user=joe
password=xxx}
1{user=moe
password=xxx}
2{user=tom
password=xxx}
}
If I delete Accounts.1, I'd like to be able to re-order to this:
Accounts{
0{ user=joe
password=xxx}
1{user=tom
password=xxx}
}
Or is there a better way to organize this in HDF such that adding/deleting
would be easier? I'm using this in an embedded application so I really
don't want to add a database. I'd rather stick with HDF files if possible.
--
Thanks,
Rick Walsh
[email protected]