RE: feature request; id idref pairs

Subject: RE: feature request; id idref pairs
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 10 Feb 2000 16:27:17 -0000

Using

 <xsl:key name="callers" match="@Noutput|@Youtput|@linksTo|@input-LinksTo" 
use="."/>

as top level element,
and 

<xsl:template match="decision">
  <xsl:value-of select="substring(./@id,3)" />(<xsl:value-of 
    select="key('callers',@id)/@id"/>): <xsl:value-of select="."/>  *******
  Yes :o <xsl:value-of select="substring(id(@Youtput)/@id,3)"/>
  No :o <xsl:value-of select="substring(id(@Noutput)/@id,3)"/>

</xsl:template>

Getting error

Error processing source document
At xsl:value-of on line 75 of file:/C:/sgml/xsl/processtxt.xsl: Cannot match

pattern @Noutput until it is resolved
Elapsed time: 1540 milliseconds

from Saxon. 

Any idea what this means please?

Srce file has 

<decision id="id08" Youtput="id09" Noutput="id13">Quantity over
50?</decision>

Hence such an element exists.

Regards, DaveP


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


Current Thread