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

Re: content of matched node ?

Subject: Re: content of matched node ?
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Tue, 23 Jul 2002 09:09:49 +0100
apotheke content
<xsl:value-of select="."/>

should select the node value of the current node...? not sure what the
problem is ?

gl, jim fuller

----- Original Message -----
From: "Jochen Metzger" <j.metzger@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, July 23, 2002 8:36 AM
Subject:  content of matched node ?


> Hi,
>
> good morning (in Berlin its morning now)
>
> I'm having a slight problem with a template
>
> I want to have the content of a node, but the node
> is already matched.
> I wanted to write something like
> <xsl:value-of select="."/>
> but this doesn't work
>
> Has somebody got an idea?
> THX in advance.
>
> Jochen
>
> -------
> Here's a piece of my xsl-stylesheet and xml beneath:
>
> <xsl:template match="/module/required/recordset/element[@name='category']"
>
>    <xsl:apply-templates select="./option" />
>
> </xsl:template>
>
> <xsl:template match="option" >
>    <option>
>        <xsl:attribute name="value" >
>             <xsl:value-of select="@value" ></xsl:value-of>
>     </xsl:attribute>
>        <!-- how can I get the content here ??? -->
>    </option>
>
> </xsl:template>
>
> ---
> xml
> ----
> <module name="product database entry">
>     <required>
>           <element name="category" sourcetype="AUTOSELECT">
>                 <option value="111">Antiquariat (B&#xFC;cher)</option>
>                 <option value="6">Apotheke</option>
>                 <option value="57">Babyausstattung</option>
>                 <option value="2">Backwaren</option>
>           </element>
>     </required>
> </module>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.