Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


formating repeating data

From: "Jeremy Chapman" <me@----.--->
To: NULL
Date: 1/5/2006 11:22:00 AM
I have an xml element containing client contact information in my document 
that may appear multiple times (sample below).  In my xsl I want to generate 
html for each of the contact.  The easy thing to do would be to create 
multiple table rows so each contact information appears in a list, but what 
I need to do is display them repeating horizontally and vertically instead 
of just vertically. Any ideas on how to do this?

example:

Contact info 1            Contact info 2
Contact info 3            Contact info 4
Contact info 5

this is a sample of the xml, where there could be multiple participant 
elements:
<participant typeCode="NOT">
  <participatingEntity classCode="CON">
   <code code="HUSB" codeSystem="F05716F7-BA77-4641-A8D8-6E3948CCD321" 
codeSystemName="HL7: PersonalRelationshipRoleType" displayName="Husband"/>
   <addr>
    <streetAddressLine>2222 Home Street</streetAddressLine>
    <city>Ann Arbor</city>
    <state>BC</state>
    <postalCode>A1B 2C3</postalCode>
    <country>CA</country>
   </addr>
   <telecom value="tel:(555)555-5001" use="H"/>
   <telecom value="mailto:Neville.Nuclear@e..." use="H"/>
   <associatedPerson>
    <name>
     <prefix>Mr.</prefix>
     <given>Neville</given>
     <given>N.</given>
     <family>Nuclear</family>
     <suffix>III</suffix>
    </name>
   </associatedPerson>
  </participatingEntity>
 </participant> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent