P. 1
PC 910 XMLGuide En

PC 910 XMLGuide En

|Views: 70|Likes:
Published by dharmendard
info xml odc
info xml odc

More info:

Categories:Topics, Art & Design
Published by: dharmendard on Jul 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/07/2013

pdf

text

original

A circular relationship is a circular hierarchy relationship between two views in an XML definition or within a single
view in an XML definition. For example, a complex element called Part might contain an ID, part name, and a
reference to another part.

The following example shows the Part element components:







ref="Part" minOccurs="0" maxOccurs="unbounded"/>
/xs:sequence>

The following figure shows a circular reference in the XML Editor workspace:

You might use the Part XML definition to read the following XML file in a session:


1

Big Part
L


1.A

34 Chapter 2: Using XML with PowerCenter

Middle Part
M


1.A.B

Small Part
S

In the XML file, Part 1 contains Part 1.A, and Part 1.A contains Part 1.A.B.

The following figure shows the data and the keys that a session might generate from the XML source:

Note: You cannot run a session that contains a circular XML reference if the session is enabled for constraint-
based loading. The session rejects all rows.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->