[jdom-interest] should i use jdom for this

Ray Tayek rtayek at attbi.com
Fri Apr 4 03:01:33 PST 2003


hi, trying to grok cocoona and xforms. so i have this xml file which needs 
to be processed by an xsl file to produce a form sent by a servlet to the 
client's browser.

the input fields are attributes in the xml file and the names of the input 
fields (in the html file) are their xpath expressions in the original xml 
file. so the name value pairs that i get back are xpathToAttribute and it's 
value.

i want to update the original xml file with whatever changes have been made 
by the client and validate the data. if it's not valid then i need to 
transform it again with suitable highlighting to indicate what fields are bad.

i have the first half of this process done using xmlspy. the xml file is 
small ~2kb. the input.xsd, input.xml, input.xsl and transformedInput.html 
(the form) are at http://tayek.com/~ray/xml/

anaict, jdom sounds like the rational way to do this unless i need some of 
the 20% that it does not do.

any advice or pointers will be appreciated.

thanks

---
ray tayek http://tayek.com/ actively seeking mentoring or telecommuting work
vice chair orange county java users group http://www.ocjug.org/
hate spam? http://samspade.org/ssw/




More information about the jdom-interest mailing list