Re: About node references

Florent Georges <[email protected]> Mon, 15 Dec 2008 11:42:05 +0100 (CET)
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Michael Kay wrote:

> (b) seems to me to be too crude. I think we need (a), and that
> means that it is not possible for the reference to consist of a
> simple string. It could consist of some internal object that
> presents string-like behaviour to the application, but this would
> cause confusion in that it wouldn't be clear to the user when the
> reference ceases to exist. In particular users would be tempted
> to copy the string into the contents of a node, and would fail to
> realize that the copy wasn't a recognizable reference.

  And anyway, that wouldn't fulfill the need for having references
as strings, which is precisely to be able to add the references
into trees, and to dereference them back later.  If I am right...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/