Why are you attempting to talk yourself out of a good solution? Stores (both on-line and brick-and-mortar) use unique identifiers for their items. Things like part numbers and ISBN numbers make sure that when you order an item, the store knows exactly what you want. If you expect to have item names that are identical, how will you keep them straight, let alone your script, without a unique identifier?
However, if you insist on not having to set per-item ids, you can simply add an extra id field to each item as you convert it to html to display on your web interface. The item's location in the file(i.e. which number it is) could be the id. When you resubmit your form, you can use this number to make sure you are modifying the correct item. This assumes that only one person changes the file at a time(since adding an item could throw the count off.)
Later
In reply to Re: Item Identification in XML Files
by pzbagel
in thread Item Identification in XML Files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |