[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[XSL] Multiple relationships

Subject: [XSL] Multiple relationships
From: "Craig Stewart" <cstewart@xxxxxxxx>
Date: Fri, 3 May 2002 10:17:38 -0500
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.