Re: edit an XML instance document

Sorry, no coffee yet; that should have read:

Sounds like you forgot the 'replace="instance"' on the <submission> element.

Steven


Steven Pemberton wrote:
> 
> Sounds like you forgot the 'replace="none"' on the <submission> element.
> 
> Steven Pemberton
> 
> Tamasoiu Simina wrote:
>> hello!
>>  
>> i've tried the "get" method, but i get the XML instance file as a 
>> plain text document. And what i wanted is to be able to edit this XML 
>> instance through a GUI.
>> did i do something wrong, or i have to use something else instead of 
>> "get" method?
>> */Kind regards, /*
>> */Simina/*
>> *//* *//* */rk Birbeck <mark.birbeck@x-port.net>/* wrote:
>>
>>
>>     Tamasoiu,
>>
>>     Just add another submission like the one you have, but with a 
>> method of
>>     'get'. You could let the user invoke this submission with a trigger,
>>     or you
>>     could put it on the load of the form (xforms-model-construct-done or
>>     xforms-ready).
>>
>>     Regards,
>>
>>     Mark
>>
>>
>>     Mark Birbeck
>>     CEO
>>     x-port.net Ltd.
>>
>>     e: Mark.Birbeck@x-port.net
>>     t: +44 (0) 20 7689 9232
>>     b: http://internet-apps.blogspot.com/
>>     w: http://www.formsPlayer.com/
>>
>>     Download our XForms processor from
>>     http://www.formsPlayer.com/
>>
>>
>>     ________________________________
>>
>>     From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On
>>     Behalf Of Tamasoiu Simina
>>     Sent: 16 March 2006 08:51
>>     To: www-forms@w3.org
>>     Subject: edit an XML instance document
>>
>>
>>     Hi there!
>>
>>     I'm using the XML Forms Generator to generate XForms from an XML
>>     instance file.
>>     But i would like to know how can i edit the XML instance document
>>     through the XForm GUI?
>>     i was thinking about using this submission method:
>>
>>     method="put" id="submit"/>
>>     Okay, it works, but how can i open the instance XML form, back into
>>     an XForm, so that the user can add more content to the same XML
>>     instance?
>>
>>     Thanks for your support an! d for the replies from before!
>>     ________________________________
>>
>>     Brings words and photos together (easily) with
>>     PhotoMail
>>
>>     com> - it's free and works with Yahoo! Mail.
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>> Yahoo! Travel
>> Find great deals 
>> <http://us.lrd.yahoo.com/_ylc=X3oDMTFscDlocTFiBF9TAzMyOTc1MDIEX3MDMjcxOTQ4MQRwb3MDMgRzZWMDbWFpbC1mb290ZXIEc2xrA3l0LXR0/SIG=12hqieud9/**http%3a//leisure.travelocity.com/Promotions/0,,YHOE%7c1381%7cvacs_main,00.html> 
>> to the top 10 hottest destinations!
> 

Received on Friday, 17 March 2006 10:12:53 UTC