Re: [xsl] Spotting "cousin marriages" in a tree

Subject: Re: [xsl] Spotting "cousin marriages" in a tree
From: Phil Endecott <spam_from_xslt_list@xxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 17:03:23 +0100
David Carlisle wrote:
It works in saxon:

$ saxon keys.xsl keys.xsl
<?xml version="1.0" encoding="utf-8"?>A


I've just realised that by supplying the same XSLT file as the "input" XML, as you have done, you're changing the situation as the XSLT contains the same nodes within the definition of the variable. Please try this again with an input file containing just a <foo/> node. Here is what I get with xsltproc:

$ xsltproc keytest.xslt keytest.xslt
<?xml version="1.0"?>

$ xsltproc keytest.xslt foo.xml



Current Thread