java and xml problems
I have 2 questions:
1) how can I apply a XML Schema to an XML fragment obtained through an HTML form?
the XML schema covers only that form fields (is a proper schema to validate a record of a simple xml database)
2) how can I add a new record of my database? I input the fields through an HTML form and I must add my record to my database. The XML database is like this:
my html form "fills" the record fields, that must be validated with a given (and proper) xml schema. I must add the "record" tag, with the counter attribute "id".
I'm using Tomcat, Xerces and many other XML/Java related technologies...
I appreciate any suggestion, tip or anything that help me to understand how to do and what is the best way to do this job!
Thank you in advance.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL