Subject: [xsl] Global location path confusion From: Jonas Eschenburg <indyjo@xxxxxx> Date: Thu, 22 Feb 2001 21:37:24 +0000 |
<xsl:template match="doc"> <doc> <xsl:apply-templates/> </doc> </xsl:template>
<xsl:template match="a"> <x title="{/doc/@title}"/> </xsl:template>
<doc title="abc"> <a/> <b/> </doc>
<doc> <x title="abc"></x> <x title=""></x> </doc>
My question: Why does the second "abc" get eaten up? Why doesn't it result in this?
<doc> <x title="abc"></x> <x title="abc"></x> </doc>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Test for PCDATA, Jeni Tennison | Thread | Re: [xsl] Global location path conf, Jeni Tennison |
Re: [xsl] Q on xsl:choose, Walter Torres | Date | [xsl] [ANN] Looking for a XSLT debu, Christopher Parkerso |
Month |