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

When is a node not itself?

Subject: When is a node not itself?
From: robin@xxxxxxxxxxx
Date: Sun, 23 Jul 2000 19:30:53 +0100
not itself
I've been discussing the collation of nodes from different
documents with (one of?) the author(s) of Sablotron, which
doesn't address this issue properly yet. (If you're reading
this Tom, I hope you don't mind me raising this here)

He raised the following question:
 
 Consider the following 3 files. The
 input file for the genid-question.xsl stylesheet is irrelevant.
 
 <!-- genid-question.xsl -->
 <xsl:transform xmlns:xsl='http://www.w3.org/1999/XSL/Transform'    
 version='1.0'>
 <xsl:template match='/'>
 <xsl:value-of select="generate-id(document('genid1.xml')/a/b) =
     generate-id(document('genid2.xml')/b)"/>
 </xsl:template>
 </xsl:transform>
 
 <!-- genid1.xml -->
 <!DOCTYPE a [ <!ENTITY genid2 SYSTEM "genid2.xml"> ]>
 <a> &genid2; </a>
 
 <!-- genid2.xml -->
 <b/>
 
 Shouldn't this output true? I think it should, but neither XT nor Saxon
 do.

The spec doesn't seem to address this question explicitly.
Does anybody have an answer?

 .robin.
 
-- 
A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal--Panama!


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


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.