
Anonymous
Not applicable
2015-12-01
03:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Creating XSD from a XML File
Hi,
I have a XML file with me with Data in the file.
I am Looking for a Component in Talend which can create a XSD file for me from the XML input.
Can anyone suggest me, how this can be done !!
257 Views
3 Replies

Anonymous
Not applicable
2015-12-02
10:59 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Read the XML file with tFileInputXML and generate the XML file again with tAdvancedFileOutputXML component, check the 'Create associated XSD file' option in the advanced setting tab of tAdvancedFileOutputXML to generate its XSD file.
Read the XML file with tFileInputXML and generate the XML file again with tAdvancedFileOutputXML component, check the 'Create associated XSD file' option in the advanced setting tab of tAdvancedFileOutputXML to generate its XSD file.
257 Views

Anonymous
Not applicable
2015-12-04
12:06 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you shong, it worked.
Also there is a online utility, which was converting the XML to XSD very easily.
freeformatter.com/xsd-generator
Also there is a online utility, which was converting the XML to XSD very easily.
freeformatter.com/xsd-generator
257 Views

Anonymous
Not applicable
2020-02-18
07:26 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @shong ,
I'm able to generate xsd, but dataype is not present in the xsd file. Could you please help me. Thank you
<xsd:element name="actor_id" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
257 Views
