[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How To Modify the Contents Of XML Document Dynamically?
> > Let's say I have following XML: > > ... > <NOTE> > <NAME> xxx </NAME> > <DATE> ddd </DATE> > <DESCRIPTION /> > </NOTE> > ... > > When this is displayed in the browser using XSL, I would like > to make the > <DESCRIPTION /> part of this XML modifiable to viewers. That means you have to generate an input field as part of the HTML page you are generating. And > also, after > modifying this section, this XML should take the input and > store it into the XML file (itself). > That means you have to write JavaScript code that deals with the input entered by the user into the HTML input field, and supply it as a parameter to another XSLT transformation that transforms the original XML file into the modified XML file. You don't explain your system configuration, but it's probably simpler to do this second transformation on the server. Mike Kay
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|