Field and group naming

T

Torsten Hensel

Hi!

I created an InfoPath form. For this I added a group named "function", but InfoPath added a group named "my:function". After that I created several fields, e.g. "name". When I fill out this form and save the resulting XML file all items are have a leading my: in their name: my:function, my:name and so on.

How can I remove the "my:"? When I try to rename the group only "function" is shown. I don't see a way to remove the my: prefix. Can anyone help me?

CU, Hensz
 
J

Java

Hi!
I don't think you can remove the "My:" neither you want to. simpl
because that's how Infopath structures the XML file.

If you want to just store DATA or VALUES from the fields then I woul
recommend you to use a SQL or Access Database to do that. That way yo
would get just the value from the field and not the complete schema.

Anyone? Is there any method to change the resulting schema XML o
Infopath?

Torsten said:
*Hi!

I created an InfoPath form. For this I added a group name
"function", but InfoPath added a group named "my:function". Afte
that I created several fields, e.g. "name". When I fill out this for
and save the resulting XML file all items are have a leading
my: in their name: my:function, my:name and so on.

How can I remove the "my:"? When I try to rename the group onl
"function" is shown. I don't see a way to remove the my: prefix. Ca
anyone help me?

CU, Hensz


-
Jav
 
T

Torsten Hensel

Java said:
I don't think you can remove the "My:" neither you want to. simply
because that's how Infopath structures the XML file.

Hmm, I don't like software that cannot be configured the way I want
it. What's the deal? Ich want InfoPath to create XML files from a form
the way I think is best, not the way Microsoft thinks is best.

I can understand that namespaces are useful and that it is safer to
use them by default, but why is there no option to turn them off?
If you want to just store DATA or VALUES from the fields then I would
recommend you to use a SQL or Access Database to do that. That way you
would get just the value from the field and not the complete schema.

I need an XML configuration file. Instead of editing or creating the
file directly (which leads to errors) I need a Config-File-Creator.
And instead of programming my own I wanted to use InfoPath (including
input validation).

CU, Hensz
 

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