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

XSL-selectsomevalue-problem

Subject: XSL-selectsomevalue-problem
From: Peter Johansson <qtxpjoh@xxxxxxxxxxxxxxx>
Date: Thu, 26 Aug 1999 15:09:59 +0200
pexml
I'm using XT and have this small problem, I dont find the way to display all domains that have the value assi01, there is a number of them and I'd like to display:
id            domain 
hej         assi01

name        value
nisse          10
olle            11

and don't display the id, domain, name and value for  domain assi02

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl"  ?>
<pexml>
    <items>
          <item>
               <id>"hej"</id>
               <domain>"assi01"</domain>
               <params>
                    <param>
                         <name>nisse</name>
                         <value>10</value>
                    </param>
                    <param>
                         <name>olle</name>
                         <value>"01"</value>
                    </param>
               </params
               <items>
                    <item>
                         <id>"hej:hej1"</id>
                         <domain>"assi02"</domain>
                         <params>
                             <param>
                                  <name>kalle</name>
                                  <value>11</value>
                              </param>
                              <param>
                                   <name>pelle</name>
                                   <value>111</value>
                              </param>
                            </params>
                     </item>
               </items>
          </item>
     </items>
</pexml>

Should I use some kind of <xsl:if> or <xsl:when> or possibly <xsl:value-of select="@domain='assi01'">
????Help needed
//Peter

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.