| Subject: [xsl] getting associated file name for element From: "Matthew L. Avizinis" <mla@xxxxxxxxx> Date: Mon, 4 Mar 2002 22:32:24 -0500 | 
Hello all,
  If I am doing something like:
    <xsl:for-each select="document($all-questions//quiz/@href)//question">
        <xsl:sort order="ascending" select="faa-num"/>
      ...do stuff with each question...
         <xsl:value-of select="faa-num"/>
         Here's where I want to grab the name of the file, i.e. @href, the
question came from
    </xsl:for-each>
where quiz/@href contains the filenames containing questions to be grabbed
and then sorted by a question child element called faa-num.
How can I grab the value of @href as each question is evaluated?
thanks for all help with this,
   Matthew L. Avizinis <mailto:mla@xxxxxxxxx>
Gleim Publications, Inc.
   4201 NW 95th Blvd.
 Gainesville, FL 32606
(352)-375-0772 ext. 101
      www.gleim.com <http://www.gleim.com>
=======================================================================
com·put·ing (kum' pyoot ing)
1. n the art of calculating how much time you wasted and money you spent in
a doomed attempt to master a machine with a mind of it's own. --from
computing: A HACKER'S DICTIONARY
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| Re: [xsl] @* and xmlns:xsl, David N Bertoni/Camb | Thread | [xsl] getting associated file name , Matthew L. Avizinis | 
| Re: [xsl] @* and xmlns:xsl, David N Bertoni/Camb | Date | Re: [xsl] Urgent!Loop_Condition, Mike Brown | 
| Month |