|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Serialization of XDMDavid A. Lee dlee at calldei.comMon Sep 14 19:12:07 PDT 2009
Michael Kay wrote:
>
> Incidentally, one deficiency of the Saxon -wrap format that I mentioned
> earlier is that it doesn't contain any information about node identity. If
> you have a sequence of three elements with the same name and content, it
> won't tell you whether the sequence being serialized contains three distinct
> nodes, or a single node repeated three times.
>
>
Interesting point about Node Identity. I hadnt thought of that.
Do you have an oppionion of how important it is to preserve node identity ?
Would this be important only at the sequence level or in nested elements
as well ?
e.g
let $a := <foo/>
return
( $a , $a , $a )
---> recognize all 3 are the same
let $a := <foo/>
return
( <bar>{$a}</bar>,<bar>{$a}</bar>,<bar>{$a}</bar>)
--> do we need to know that all 3 <foo/> are the same ?
On first glance I can imagine the former being fairly easy, but the
later much more complex.
David A. Lee
http://x-query.com/mailman/listinfo/talk
http://www.calldei.com
http://www.xmlsh.org
812-482-5224
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






