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.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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
Answered 03/30/2009 by: jcarri06
Senior Purple Belt

Please log in to comment
0
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.
Answered 03/30/2009 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
Answered 03/30/2009 by: rbrucelee1978
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity