|
Praveen, You can use castor or JAXB for binding. I don’t think that either of
these create a sample XML file for you. I use XML Spy to do this. Thanks, Vishal -----Original
Message----- Hi
Bishal, I like
your suggestion, but I think I forgot to mention that my application is
implemented in Java and I am not sure how do I automatically generate XML from
schema using java. Do you know of any tool that does that? Praveen -----
Original Message -----
Sent: Monday, February 24,
2003 4:23 PM Subject: RE:
extensible metadata schema Praveen, You can use XML-SPY to
create a sample xml from a schema. You can use the following to validate an XML
against a schema -
xerces validation programmatically -
XML-SPY Cheers, Vishal -----Original Message----- Hi all, I work for a company that does an asset metadata integration from
different content management systems. We currently have an extensible schema
where one can add/remove metadata fields in the schema on the fly. Now my
problem is to take the input (mostly name value pairs) from any client and
build the xml document which should be valid against the schema. Since the
schema is fully extensible, the system doesn't know about it in advance. Now, my question is whats the best way to build the xml document
from the input, that should be valid against the schema. Is there a better way
where I can parse the schema and build the xml document based on that. Is there any API available to parse the schema and understand the
schema attributes etc... Praveen |
- extensible metadata schema Praveen Peddi
- RE: extensible metadata schema Bhasin, Vishal
- Re: extensible metadata schema Praveen Peddi
- RE: extensible metadata schema Bhasin, Vishal
- RE: extensible metadata schema Christopher Ebert
