Hi,
 
It sounds like you might be looking for http://www.eclipse.org/xsd/. No, I haven't used it (wish I had time :).
 
 
Chris
 
-----Original Message-----
From: Praveen Peddi [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: extensible metadata schema

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-----
From: Praveen Peddi [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 11:13 AM
To: [EMAIL PROTECTED]
Subject: extensible metadata schema

 

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

Reply via email to