Re: About node references
Dimitre Novatchev <[email protected]> Mon, 15 Dec 2008 09:38:34 -0800 (PST)
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
> > Therefore, we should have just a single "ref" type. It can > > be a ref to an instance of any other "non-value type". > > > > A value type is (like in .NET) any simple atomic type, like > > xs:integer or xs:string. I used to call these "scalar types" > > -- types without structure. > > Why the restriction? A ref should be an item that acts as a reference to any > sequence, no exceptions. It's not a restriction, just common sense. Would you ever make a reference to the number 10 and choose not to simply pass this by value? Cheers, Dimitre