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

Referencing a lookup table

Subject: Referencing a lookup table
From: "Sips, Gregor" <G.Sips@xxxxxxxxxxxxxxx>
Date: Mon, 12 Jul 2004 09:59:26 +0200
gregor sips
Hi !

I am relatively new in the world of XML and XSL, so my problem has probably
been adressed before. I have been looking in the archive but couldn't find any
solution.
Well, the point is that I have some XML-tags added to an original XML message.
The result looks like this:

<document>
   <!-- original tags -->
   <policy>
      <cover>
         <fundcode>1</fundcode>
         <amount>120</amount>
         <some_other_stuff/>
      </cover>
      <cover>
         <fundcode>2</fundcode>
         <amount>80</amount>
         <some_other_stuff/>
      </cover>
   </policy>
   <!-- addes tags -->
   <funds>
      <fund>
         <code>1</code>
         <desc>Fund 1</desc>
      </fund>
      <fund>
         <code>2</code>
         <desc>Fund 2</desc>
      </fund>
   </funds>
</document>

I want te create a XHTML where I select form the cover node the funds
including the corresponding description in the added tags section.
I have been struggling with all kinds of combinations of value-of and for-each
elements but so far no result. Is there anybody who can help me ?

Kind regards,
Gregor Sips
De in dit e-mailbericht verstrekte informatie (inclusief attachments) is
vertrouwelijk en uitsluitend bestemd voor de geadresseerde. Het gebruik door
derden of het verstrekken aan derden van deze informatie dan wel kopikren van
deze informatie is niet toegestaan.
Vanwege de elektronische verzending kunnen er geen rechten worden ontleend aan
de informatie in dit bericht.
Dit e-mailbericht is gecontroleerd op aanwezigheid van computervirussen.


The information provided in this e-mailmessage (including attachments) is
confidential and intended solely for the adressee. The use by third-parties or
the providing to third-parties of this information or the copying of this
information is not allowed.
Because of the electronic sending no rights can be derived from the
information in this message.
This e-mailmessage has been checked for the presence of computer viruses.

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.