Subject: [xsl] Multiple relationships From: "Craig Stewart" <cstewart@xxxxxxxx> Date: Mon, 6 May 2002 08:30:59 -0500 |
Again I write; 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSl, sorting, namespaces , Stuart Celarier | Thread | Re: [xsl] Multiple relationships, Jeni Tennison |
Re: [xsl] Identifying two tags that, Zack Brown | Date | RE: [xsl] One texdocument in and se, Tove Nilstun |
Month |