Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML target tag

Status
Not open for further replies.

sallymay

MIS
Jan 28, 2004
10
US
Hello,

I created a target definition from an XSD. I then created a simple pass-through mapping from an Oracle table to the XML target definition. When viewing this XML file I see the following:

< ProductMeasure measureID="19.0000000" productMeasureName="Hypnotic Class" />

This is a complextype tag and in the XSD it is seen as:

< xs:element name="ProductMeasure" minOccurs="0" maxOccurs="unbounded">
< xs:complexType>
< xs:attribute name="measureID" type="xs:string" use="required"/>
< xs:attribute name="productMeasureName" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>

Does it matter that the measureID and productMeasureName are on one line in the XML file? Or does it have to be separate tags as seen in the XSD? If it should be separate tags, how can I format this in Informatica?

Thanks for the help,
Sally
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top