Suppose I have following XML and I want to parse this xml and store these variable to in list: <record> <column name="ID">1</column> <column name="MANIFACTURERNAME">Dell</column> <column name="MODELNAME">Latitute</column> <column name="RAMSIZE">8 GB</column> <column name="HDDSIZE">1 TB</column> <column name="SCREENSIZE">15 Inch</column> <column name="PROCESSORNAME">Intel i7</column> <column name="PRICE">850</column> </record> <record> <column name="ID">3</column> <column name="MANIFACTURERNAME">Latitude</column> <column name="MODELNAME">ideaBook</column> <column name="RAMSIZE">8 GB</column> <column name="HDDSIZE">300 GB</column> ...
Convert Any() type to XmlElementType in IBM BPM : Here tw.local.results variable is ANY Type and tw.local.xmlElementResult is XMLElement Type var x = tw.system.serializer.toXml(tw.local.results); tw.local.xmlElementResult = tw.system.serializer.fromXml(x); Convert String type to Integer in IBM BPM : Here tw.local.results variable is StringType and tw.local.age is IntegerType tw.local.age = Number(tw.local.results);
Comments
Post a Comment