?
---
Is there a way to import data from one Form to another? Imagine I've
got a Form (Expenses) which contains a bunch of purchases. The data
for each purchase is contained in another form (Purchase), but only a
subset of the data is required for the Expenses Form (date, person,
cost, etc).
1. Form Merging doesn't seem to cut it, the schema are different.
2. I've tried attaching the Purchase Forms, but they are imported at
base64 and I can't manipulate them that way.
3. I've tried (in javascript) creating a XMLDocument and calling
the .load method on the Purchase file. This DOES load the document,
but when I try to select nodes, I get a namespace error ( both schema
share the same namespace).
I'm thinking method 3 is the way to go, but can't seem to get around
the namespace problem. The exact error is "Reference to undeclared
namespace prefix: 'my'".
Anyone got any ideas?
got a Form (Expenses) which contains a bunch of purchases. The data
for each purchase is contained in another form (Purchase), but only a
subset of the data is required for the Expenses Form (date, person,
cost, etc).
1. Form Merging doesn't seem to cut it, the schema are different.
2. I've tried attaching the Purchase Forms, but they are imported at
base64 and I can't manipulate them that way.
3. I've tried (in javascript) creating a XMLDocument and calling
the .load method on the Purchase file. This DOES load the document,
but when I try to select nodes, I get a namespace error ( both schema
share the same namespace).
I'm thinking method 3 is the way to go, but can't seem to get around
the namespace problem. The exact error is "Reference to undeclared
namespace prefix: 'my'".
Anyone got any ideas?