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

how to read a pseudo-duplicated key?

Subject: how to read a pseudo-duplicated key?
From: "Marco Pedrini" <marco.pedrini@xxxxxxxxxx>
Date: Thu, 29 May 2003 12:11:58 +0200
pseudo read
Hi all, 
    while I'm reading my XML file, how could I choose the right value for tha key "PORTPATH" if it is defined in two places, at a first level, and inner the "REGISTER_STOR" tag, at a second level ?

Now the value retrieved is not the one at a first level (value :8071)! 
How can I get this gool?

Thank u much

Marco

PS:  Attached notes:
---------------------------------------------------
this is my XSL document

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format">
 <xsl:variable name="Esperanto" select="//LANGUAGE"/>
 <xsl:variable name="PortPath" select="//PORTPATH"/>

<...>
---------------------------------------------------
this is my XML:
<REGISTER_STOR>
     <PHARMA>
        <ROWTAG ID="1">
              <C06_D_PROD>XV-2</C06_D_PROD>
        </ROWTAG>
      </PHARMA>
      <PORTPATH>:80</PORTPATH>
      <DUAL>
         <ROWTAG ID="1"  >
              <DUAL_VALUE>1</DUAL_VALUE>
              <DT_STAMPA>23/05/2003 10:38:19</DT_STAMPA>
              <USERID>SANIWEB</USERID>
          </ROWTAG>
      </DUAL>
</REGISTER_STOR>
<PORTPATH>:8071</PORTAPTH>
<LANGUAGE>ITA</LANGUAGE>

<...>
-----------------------------------------------



 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.