Creating XSD from a XML File

One Star

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 !!

Community Manager

Re: Creating XSD from a XML File

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. 
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Creating XSD from a XML File

Thank you shong, it worked.
Also there is a online utility, which was converting the XML to XSD very easily.
freeformatter.com/xsd-generator

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog