Subject: Re:XSL for element containing mixed content.
From: Joerg Pietschmann <joerg.pietschmann@xxxxxx>
Date: Fri, 07 Sep 2001 13:50:09 +0200
|
"Yang" <sfyang@xxxxxxxxxxxxx> wrote
> Sandbeep wrote:
> >then I can write '<xsl:value-of select ".">', for
> >directory template. But this prints all the data which
> >is present in the child elements
>
> try <xsl:value-of select="node()"/>
This wont fix it. You mean probably
<xsl:value-of select="text()"/>
It might be advisable to qualify the node further:
<xsl:value-of select="text()[normalize-space()][1]"/>
HTH
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|