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: feature request; id idref pairs




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

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