<Invoice> <LineItem>Laptop</LineItem> <LineItem>Mouse</LineItem> </Invoice> To add a unique id attribute to each <LineItem> :
Download the tool, run xmlkeygen --demo to see a live simulation, and experience the future of key management. For enterprise licensing, technical support, or contribution guidelines, visit the official documentation portal. Version 4.0 is released under the Apache 2.0 license.
stage('Generate XML Keys') steps sh 'xmlkeygen batch -i src/main/resources/*.xml -d keys_db -v'
<Invoice> <LineItem id="f47ac10b-58cc-4372-a567-0e02b2c3d479">Laptop</LineItem> <LineItem id="6ba7b810-9dad-11d1-80b4-00c04fd430c8">Mouse</LineItem> </Invoice> For an order with multiple details, you need sequential keys (1,2,3):
FROM alpine:latest COPY xmlkeygen /usr/local/bin/ ENTRYPOINT ["xmlkeygen"]