|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [XSL] Multiple relationships
I need to select the relationship type that fits some rules and display only
that relationship and the party information that goes with it. Any suggestions
as to how to code the XSL to do this? I have an XML file with party's linked to
relationships like this:
<Party id="Party_1">
<FullName>Craig Stewart</FullName>
<Person>
<FirstName/>
<LastName/>
<BirthDate>06/17/1996</BirthDate>
<SmokerStat tc="3">
Non-Tobacco
</SmokerStat>
</Person>
<Address>
<Line1>2162 GROVER LN</Line1>
<Line2/>
<Line3/>
<City>CEDAR RAPIDS</City>
<AddressState>IA</AddressState>
<Zip>52404</Zip>
</Address>
<Phone>
<AreaCode>316</AreaCode>
<DialNumber>7971895</DialNumber>
</Phone>
<Carrier/>
<Client/>
</Party>
<Party id="Party_2">
<FullName>Ann Stewart</FullName>
<Person/>
<Address>
<Line1>1718 4TH ST CT</Line1>
<Line2/>
<Line3/>
<City>EAST MOLINE</City>
<AddressState>IL</AddressState>
<Zip>61244</Zip>
</Address>
<Phone>
<AreaCode/>
<DialNumber/>
</Phone>
<Carrier/>
<Client/>
</Party>
<Party id="Party_3">
<FullName>Ann Stewart</FullName>
<Person/>
<Address>
<Line1>1718 4TH ST CT</Line1>
<Line2/>
<Line3/>
<City>EAST MOLINE</City>
<AddressState>IL</AddressState>
<Zip>61244</Zip>
</Address>
<Phone>
<AreaCode/>
<DialNumber/>
</Phone>
<Carrier/>
<Client/>
</Party>
<Party id="Party_4">
<FullName>Ann Stewart</FullName>
<Person/>
<Address>
<Line1>1718 4TH ST CT</Line1>
<Line2/>
<Line3/>
<City>EAST MOLINE</City>
<AddressState>IL</AddressState>
<Zip>61244</Zip>
</Address>
<Phone>
<AreaCode/>
<DialNumber/>
</Phone>
<Carrier/>
<Client/>
</Party>
<Relation id="Relation_1" OriginatingObjectID="Holding_1" RelatedObjectID="
Party_1">
<OriginatingObjectType tc="4">Holding</OriginatingObjectType>
<RelatedObjectType tc="6">Party</RelatedObjectType>
<RelationRoleCode tc="1">Insured</RelationRoleCode>
</Relation>
<Relation id="Relation_2" OriginatingObjectID="Holding_1" RelatedObjectID="
Party_2">
<OriginatingObjectType tc="4">Holding</OriginatingObjectType>
<RelatedObjectType tc="6">Party</RelatedObjectType>
<RelationRoleCode tc="2">Owner</RelationRoleCode>
</Relation>
<Relation id="Relation_3" OriginatingObjectID="Holding_1" RelatedObjectID="
Party_3">
<OriginatingObjectType tc="4">Holding</OriginatingObjectType>
<RelatedObjectType tc="6">Party</RelatedObjectType>
<RelationRoleCode tc="3">Premium Payor</RelationRoleCode>
</Relation>
<Relation id="Relation_4" OriginatingObjectID="Holding_1" RelatedObjectID="
Party_4">
<OriginatingObjectType tc="4">Holding</OriginatingObjectType>
<RelatedObjectType tc="6">Party</RelatedObjectType>
<RelationRoleCode tc="4">Primary Beneficiary</RelationRoleCode>
</Relation>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








