/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: jcarri06 15 years ago
Senior Purple Belt
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
Posted by: jmcfadyen 15 years ago
5th Degree Black Belt
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.
Posted by: rbrucelee1978 15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ