i have a simple xform model like this:
<xf:model>
<xf:instance xmlns="" id="a">
<DATA>
<fname/>
<lname></lname>
<tel/>
<aby/>
</DATA>
</xf:instance>
<xf:submission
id="addNewCompany"
includenamespaceprefixes=""
action="test.php"
method="post"
mediatype="text/plain">
</xf:submission>
</xf:model>
what happens is when i don't enter vaules for some of the nodes in the
instance i'm submitting, i get bad structured xml, like this:
<data xmlns="">
<fname xmlns="">
<lname>fasdfad</lname>
<tel>
<aby></aby>
</tel>
</fname>
</data>
why does this happen, and how do i fix it? it doesn't matter to me if
empty nodes appear or not,
important is that the xml structure from instance stays the same.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---