
Anonymous
Not applicable
2014-09-15
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to create Metadata from XSD?
Hi,
I have a scenario where I get a XSD (XML Schema Definition) file from which I have to generate a metadata for incoming XML files and then validate with the XSD. If the incoming file schema and the XSD schema are matching the file needs to be processed else it should be rejected.
So I need help in extracting Metadata from XSD and check it with Incomming XML files.
Thanks in Advance
Regards
M.Pavan Kumar
(ASE Virtusa India)
I have a scenario where I get a XSD (XML Schema Definition) file from which I have to generate a metadata for incoming XML files and then validate with the XSD. If the incoming file schema and the XSD schema are matching the file needs to be processed else it should be rejected.
So I need help in extracting Metadata from XSD and check it with Incomming XML files.
Thanks in Advance
Regards
M.Pavan Kumar
(ASE Virtusa India)
251 Views
4 Replies

Anonymous
Not applicable
2014-09-15
11:52 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pavan,
tFileCompliance Check will help you to do this comparison of xml files. Create two metadata for this one for incoming file and another for xsd file in metadata.
https://help.talend.com/search/all?query=tSchemaComplianceCheck&content-lang=en
Whether you have already created metadata for your input xml?
https://help.talend.com/pages/viewpage.action?pageId=13807816
Thanks
Vaibhav
tFileCompliance Check will help you to do this comparison of xml files. Create two metadata for this one for incoming file and another for xsd file in metadata.
https://help.talend.com/search/all?query=tSchemaComplianceCheck&content-lang=en
Whether you have already created metadata for your input xml?
https://help.talend.com/pages/viewpage.action?pageId=13807816
Thanks
Vaibhav
251 Views

Anonymous
Not applicable
2014-09-16
02:55 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Viabhav for your prompt reply.
I will check it with tFileCompliance and for the question you asked if I had created metadata for incoming file: iI have to create the metadata for the incoming file using the XSD file. That is the main target
Thanks & Regards
M.Pavan Kumar
(ASE Virtusa Hyderabad)
I will check it with tFileCompliance and for the question you asked if I had created metadata for incoming file: iI have to create the metadata for the incoming file using the XSD file. That is the main target
Thanks & Regards
M.Pavan Kumar
(ASE Virtusa Hyderabad)
251 Views

Anonymous
Not applicable
2014-09-16
05:16 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the below post, you might find useful.
https://community.talend.com/t5/Design-and-Development/Importing-XSD-to-generate-schema-metadata/td-...
Vaibhav
https://community.talend.com/t5/Design-and-Development/Importing-XSD-to-generate-schema-metadata/td-...
Vaibhav
251 Views

Anonymous
Not applicable
2015-07-06
02:27 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an XSD schema file. I need to generate an XML file according to the XSD (this part works fine) containing database data. However, some elements need additional data to be able to find the proper field to get from the database. That's where the origin tag would come in. It would allow me to describe in the XSD where to look for the data. The tag need not be present in the generated XML, but if possible that same XSD would be used to validate the generated XML. Another way would be to use a separate XML file to describe this, I know. But I would like to know if it would at all be possible to do this in my XSD.
251 Views
