I have a WebMaker question.
I have a schema xsd file and a web maker form, we want to bind schema to web maker form and base on user input on the form to generate XML bases on its schema. Then we want to either save that xml to a string or save xml to a file. Is it feasible in Web Maker?
The reason is we want to integrate with Adobe LiveCycle Output service which accepts XML as input parameter.
Daniel
I have a schema xsd file and a web maker form, we want to bind schema to web maker form and base on user input on the form to generate XML bases on its schema. Then we want to either save that xml to a string or save xml to a file. Is it feasible in Web Maker?
The reason is we want to integrate with Adobe LiveCycle Output service which accepts XML as input parameter.
Daniel
RE: WebMaker generate XML base on schema xsd
You shouldn't have any issues doing this in WebMaker.
When designing your page, you can use the Data Source tab to select your XSD file. This will show you the structrue of the schema which you can drag onto your page to create the needed controls. The bindings for the fields will be automatically set so that when the page is submitted to your controller the data will be in the correct XML format.
If you have already created your page, you can merge the entries from the schema data source with the existing page fields to give them the correct bindings. (Or you can always update the bindings manually if you need to.)
Once in your controller you have plenty of flexibility in what you want to do with the XML information. You can use the Save action to save it out to a file, or you may want to forward it on to a web service for example.
I hope this helps.
Regards,
Gerard