A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
editing xml file with jsp webapp
Joined: Jun 29, 2006
Jun 29, 2006 03:31:00
i'm hoping somebody can point me in the right direction.
I have am xml file that I need a client to edit, I want to write a jsp page that they can fill in fields and delete info etc on the original xml file...
i'm disturbed and perplexed aswhere to start, can somebody please help me.#
Joined: Nov 07, 2000
Jul 04, 2006 00:31:00
Guess you can have a textarea in the html file and put the xml you want user to edit. User can edit the file and submit when they are done.
<HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY > <textarea cols=50 rows=30> <?xml version="1.0" encoding="iso-8859-1"?> <samplexml> <sampleitem>value </sampleitem> </samplexml> </textarea> </BODY> </HTML>
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jul 04, 2006 06:36:00
By edit XML do you mean:
1. edit the content of existing fields, not changing the XML structure
2. edit both content and XML markup, adding or removing elements, attributes, etc.
For 1 you just need to create a normal form and populate it with the editable data. For 2 things get a LOT more complicated.
I agree. Here's the link:
subject: editing xml file with jsp webapp
Looking for Jalopy's Sun Standard configuration file (....conventions.xml)
editing xml files through jsp webapp
XSLT in MVC model
Validating XML data against XMLScema file ???
Insert and retrieve image/file into and from database Oracle
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014