XML data binding
Posted on 2002-06-14
I would like to display xml-xsl pages. And would like to choose between native xml-xsl, or data island, or scripted transform.
I've input form elements that must be binded to xml ATTRIBUTES. Can I bind input elements to xml ATTRIBUTES ? Not Nodes ?
How can I do it with the 3 methods ?
1. url points to an xml file (native or asp generated), and in it there's an xsl reference. In the xsl file I have to bind an input text field to a xml attribute.
2. I can load xml and xsl using data islands, and specify datasrc as data island ID, and datafld as attribute name. Is it works ?
Which is the best method, and why, and how can I specify the binding ?
I have to send back the filled xml, and I would like to change the xsl (f.e. when the user change the user interface language - asp generated xsl), so previously filled form values must be kept.