How do I access nth element in an array?
will this work?
inMessage.getRootElement().getFirstElementByPath(/XMLNSC/Root/data/param[3]).getValueAsString()
The JAXB API is a much nicer API than the stock Java API. Just import your XSD when adding the JavaCompute node, and it will generate the bindings for you.
How do I access nth element in an array?
will this work?
inMessage.getRootElement().getFirstElementByPath(/XMLNSC/Root/data/param[3]).getValueAsString()
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum