get XML structure from template

M

maor110

hello.

I need to fill my form with new data out of script. I found a sample in the
office path named Cd_edit. there you read the XML structure of the template,
clone it, fill in the data in and insert it to your XMLform.

I have 2 problems.
first, although I have the same structure in my template I have the group
"list" inside the "fragmentToInsert" part - in the sample version there is
only the repeating group inside.

the second problem is the namespace - there is no namespace in the sample.
if I want to change the value of one of the fields there occurs a "reference
on a not declared namespace prefix: 'my'" (translated from german)

knows somebody another sample with namespaces or can give me some other
advice?




first the sample contains no namespace declaration
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top