[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Newbie - howto write to an XML file with XSL

Subject: Re: Newbie - howto write to an XML file with XSL
From: Marian Olteanu <mou_softwin@xxxxxxxxx>
Date: Sun, 5 Dec 2004 01:30:17 -0800 (PST)
write to an xml file
> I am trying to read in an xml file, display it as a web page, where a
> user can insert data into avaiable text fields for the xsl script to
> write back out (append) to the xml tree i.e. use the xml document as a
> database to store data in.
> 
> Is this a valid use for xsl, and how do I do it.
> Useful URLs would be great!

No, it isn't.
It is a valid use for the first part: "read in an xml file, display it as a web page, where a user
can insert data into avaiable text fields"
Then, you need a server-side script to collect the data from the user and alter the XML file
(eventually using another XSLT file, that takes as parameters what needs to be changed in a file).
But even so, a XSLT file will not alter the original file: so you will do on the server something
like this: file.xml ---(alter.xsl)--> newFile.xml ; copy newFile.xml into file.xml

=====
Marian
http://www.utdallas.edu/~mgo031000/


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.