There were followup questions to GatewayScript Rana.js from yesterdays blog posting.
I answered them in this developerWorks DataPower forum posting:
Attached to that posting you find stylesheet generate-uuid.xsl called via "transform.xslt()" from GatewayScript.
If appliance has internet access it gets called from this URL and no change to Rana.2.js is needed:
Attached to the forum posting are also:
- sm.json -- pretty printed output of "sm = require('sm')", allowed easy determination of ".URLIn" and ".domainName"
- fs.readAsXML.js -- demonstrates how to read and parse XML file by "fs" module