• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » TOS 4.2 Create metadata from xsd files

#1 2011-06-07 16:50:23

frazak
New member
Registered: 2011-06-07
Posts: 3

TOS 4.2 Create metadata from xsd files

Hi,

I have to integrate some xml files in DB.

1) first, I would like to create a metadata from a xsd file, but this file is composed by others using the "import" tag :

ex : <import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://my.xsd" />

there are many xsd files used by only one xml.
How can I create my metadata to work?

2) then, I have to validate the xml file before doing anything.
but because of the same pb (many xsd used), it's not possible.
all the xsd files are on the web.the component tXSDValidator waits a xsd file to try to validate my xml.
how can I do?

thanks.

Last edited by frazak (2011-06-07 16:54:17)

Offline

#2 2011-06-08 03:23:57

shong
Talend team
Registered: 2007-08-29
Posts: 10357
Website

Re: TOS 4.2 Create metadata from xsd files

Hi
tXSDValidator read a local xsd file, so you must fetch the file from web to local machine first using tFileFetch or FTP components.

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2011-06-08 10:01:22

frazak
New member
Registered: 2011-06-07
Posts: 3

Re: TOS 4.2 Create metadata from xsd files

ok I understand.
And I did it. But, the xsd file refers to an other one wich is on the web.
If I understand, I have to copy each file and change all urls?

thanks.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » TOS 4.2 Create metadata from xsd files

Board footer

Powered by FluxBB