RE: Maintaining XML via Form Post
[Karl Stubsjoen] > I'm considering maintaining an XML object (string) in a form > post... What are the potential pitfals? I'm writing a little > maintenance screen which collects information and stores it > in an XML document. There are many form posts (many trips > back to the server). Is this a good idea? If not, is there > a better way to maintain this XML document? > I have done this. I used xslt to create the form from the previous version of the xml document, and included enough hidden fields to recreate the xml document for each new post (I did not have to have a hidden field for each element - the stylesheet created most of the document, so I only had to include certain customized items). Actually, this system handled workflow, adding and changing specific data as the work moved along from station to station. It worked very well - at least, as a simple prototype demonstrating the principle. I know some people have used path expressions for naming form elements, and used those expressions to control where the data would get inserted into the result. Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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