RE: Possible Off-topic - edit html through a form back
For .Text (the engine used for weblogs.asp.net), the code accepts the HTML and uses Chris Lovett's SgmlReader to read the (likely) non-well-formed markup into a well-formed XML document. It then uses XSLT to strip out likely problems caused from Microsoft Word cut and paste and some style tags that would cause problems for subsequent renderings on the aggregated view of feeds. -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Brook Ellingwood Sent: Thursday, January 29, 2004 5:35 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Possible Off-topic - edit html through a form back in to xml Yes, it's off-topic. I started to work on this a couple of months ago as a useful learning project in both ASP and PHP. I haven't got a final project, but the theory is simple -- all you are doing is taking an HTML form submission and writing it to a file. So you write an XSL file that generates the HTML form with the elements to be edited pre-loaded into text fields. The user makes the edits and submits to a test file that is then rendered as HTML as a validation/formedness check. If it's correct, they submit again and overwrite the original file. You can add bells and whistles as appropriate. -- Brook -----Original Message----- hello all, I done quite a bit of searching and really can't find anything that solves this problem. I have an xml that holds html elements that I use for display. Our client wants the ability to edit those elements online! This is where I haven't been able to find the full solution. Is there a way to edit parts of a xml document through your basic form and have those changes go back to your original xml? XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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