[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Spotting "cousin marriages" in a tree

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

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

David,


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"?>
A

$ xsltproc keytest.xslt foo.xml
$


Cheers,


--Phil.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.