Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

script to fill in XML

I have a predefined XML which contains a lot of tags which need to stay in the correct order.

For each new item I recieve, I need to fill out some of the tags with now information and save the XML as a new file using the items name.



Is there an easy way to fill in some tags in a standard XML file using a "display dialog"?


Fist

MacBook Pro, Mac OS X (10.7.5)

Posted on Apr 27, 2016 6:48 AM

Reply
3 replies

Apr 27, 2016 10:37 PM in response to Fist

Hello Fist,

Sure. You will just need an interface to parse the XML and identify the fields you want to edit. Then you'll need that interface to allow you to perform those edits. Then, said interface will need to re-contruct the XML, but do it using the correct schema that will maintain the proper ordering of elements. That last bit is the hard part.

script to fill in XML

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.