This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: No match or what...


Hi Hakan,

Hakan Pettersson wrote:
> 
> Hi,
> 
> could anyone explain.

The <xsl:value-of select="."/> converts into string the value of the
current node, including its children.

Here, you want to exclude the children (to process them trhrough the
apply-templates) and should write instead : <xsl:value-of
select="node()"/>

Eric

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]