able to import XML into a Wise script?
Wondering if there's a way to import XML data into a Wise Script, or some other method to accomplish this. Mainly looking for some way to make application versioning information a little less time-consuming and a little less manual. I'll explain...
I've created a number of toolsets in Wise (we're using Wise Package Studio 5.5 Professional, and yes, I know it's time for an upgrade) that contain several applications (sometimes an app can appear in multiple toolsets). We also have a number of support-related documents that are in various Microsoft formats (Excel and Word, primarily) that contain info about these toolsets and applications.
An example of what I'd like to be able to do: in Toolset A, application X goes from v1.0 to v1.1. I'd like to be able to open 1 file, change the version data for Application X in that one file, and then have that import into my Wise scripts and my Microsoft apps. Right now I'm updating versioning information in multiple files, and I'd like to be able to do it to just one file.
Sounds like an XML solution to me, but I'm not sure if there's a way to import XML data into a Wise script, or if I need a different sort of solution. Just curious if anyone else has faced a similar scenario and how they've approached solving it.
I've created a number of toolsets in Wise (we're using Wise Package Studio 5.5 Professional, and yes, I know it's time for an upgrade) that contain several applications (sometimes an app can appear in multiple toolsets). We also have a number of support-related documents that are in various Microsoft formats (Excel and Word, primarily) that contain info about these toolsets and applications.
An example of what I'd like to be able to do: in Toolset A, application X goes from v1.0 to v1.1. I'd like to be able to open 1 file, change the version data for Application X in that one file, and then have that import into my Wise scripts and my Microsoft apps. Right now I'm updating versioning information in multiple files, and I'd like to be able to do it to just one file.
Sounds like an XML solution to me, but I'm not sure if there's a way to import XML data into a Wise script, or if I need a different sort of solution. Just curious if anyone else has faced a similar scenario and how they've approached solving it.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
jcarri06
15 years ago
Hi Ron,
I'm not entirely sure about an XML importing utility for Wisescript. However, you could think of the XML as a text based file (much like an INI) and could in theory write a simple Wisescript that parses the XML file as you wish (basically making your own XML translation into Wisescript).
May be a long way to go about it, but should be doable :).
Good luck,
Jorge
I'm not entirely sure about an XML importing utility for Wisescript. However, you could think of the XML as a text based file (much like an INI) and could in theory write a simple Wisescript that parses the XML file as you wish (basically making your own XML translation into Wisescript).
May be a long way to go about it, but should be doable :).
Good luck,
Jorge
Posted by:
jmcfadyen
15 years ago
xmldom is the way to go.
I have two posts in my blog which cover heavy use of XML, there is also an XML class there that can be used read / write any xml file
i would suggest looking into Xpath as well as it can greatly simplify your code, where I used to write 10-20 lines of code I found a single xpath statement could replace the lot.
well worth the time to look into complex xpath queries.
I have two posts in my blog which cover heavy use of XML, there is also an XML class there that can be used read / write any xml file
i would suggest looking into Xpath as well as it can greatly simplify your code, where I used to write 10-20 lines of code I found a single xpath statement could replace the lot.
well worth the time to look into complex xpath queries.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.