Login  Register

Splititng an XML node into multiple fields

Posted by Chris Fitzpatrick on Feb 04, 2011; 4:32am
URL: https://discuss.orbeon.com/Splititng-an-XML-node-into-multiple-fields-tp3259460.html

Hi everyone,

I'm making a form in Form Runner that has an XML node with  
geographical coordinate data that the users would like to have split  
into multiple fields.

It looks like this:

<mods:coordinates>W1730000 W0100000 N840000 N080000</mods:coordinates>

However, the users would like to have 4 separate fields to capture  
this data, but have all the data stored in this one XML node.

I've been trying to use the tokenize method to do this, but I can't  
seem to get the functionality to work properly.
I've also tried having a separate instance that binds to this node,  
but I can't seem to get a bind for this new instance that will pull  
the values from the fr-form-instance by default.

Does anyone have an suggestions as to how to get this functionality?

Any help would be greatly appreciated!

Thanks,chris.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws