in reply to Re^2: Update XML Values using two primary keys
in thread Update XML Values using two primary keys
When you build the hash, you can store both values (name and id) and each time compare to the existing id (a hash of hashes). If the new id isn't larger then just discard that row. You can then delete items from the hash as you go through the XML and add any left in the hash at the end.
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Update XML Values using two primary keys
by pratikpooja (Novice) on Jan 08, 2021 at 23:09 UTC | |
by hippo (Archbishop) on Jan 09, 2021 at 12:01 UTC | |
|
Re^4: Update XML Values using two primary keys
by pratikpooja (Novice) on Jan 10, 2021 at 22:34 UTC | |
by hippo (Archbishop) on Jan 11, 2021 at 12:23 UTC | |
by pratikpooja (Novice) on Jan 11, 2021 at 21:20 UTC | |
by hippo (Archbishop) on Jan 11, 2021 at 23:05 UTC | |
by pratikpooja (Novice) on Jan 12, 2021 at 17:43 UTC | |
| |
by AnomalousMonk (Archbishop) on Jan 11, 2021 at 23:24 UTC | |
by pratikpooja (Novice) on Jan 12, 2021 at 17:49 UTC |