Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] [XSD metadata] import attribute elements

Hello.

I am beginner with Talend and see we can create an xml metadata imported from a xsd file.
In the last step, my schema contains all my columns but for all, values nullable and length take default value. Both are configured in my xsd but seems not imported from it.

Did Talend can import it or my xsd wasn't good ?

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="">
<xs:element name="Header">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" length="1" name="value1"/>
<xs:element type="xs:string" length="2" name="value2"/>
<xs:element type="xs:string" length="6" name="value3"/>
<xs:element type="xs:string" use="required" length="20" name="value4"/>
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Find, i export one metadata to see how it composed.

This is not an XSD but an XML like this one.


<?xml version="1.0" encoding="UTF-8"?>
<schema>
    <column comment="id" default="" key="true" label="id" length="6" nullable="false" originalDbColumnName="Id" pattern="" precision="0" talendType="id_Int" type="INT"/>
    <column comment="value1" default="" key="false" label="value1" length="2" nullable="false" originalDbColumnName="Value1" pattern="" precision="0" talendType="id_String" type="VARCHAR"/>

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Find, i export one metadata to see how it composed.

This is not an XSD but an XML like this one.


<?xml version="1.0" encoding="UTF-8"?>
<schema>
    <column comment="id" default="" key="true" label="id" length="6" nullable="false" originalDbColumnName="Id" pattern="" precision="0" talendType="id_Int" type="INT"/>
    <column comment="value1" default="" key="false" label="value1" length="2" nullable="false" originalDbColumnName="Value1" pattern="" precision="0" talendType="id_String" type="VARCHAR"/>