|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] Serialization of XDMKurt Cagle kurt.cagle at gmail.comMon Sep 14 02:13:43 PDT 2009
I'm inclined to thing here that there are multiple issues hiding in the question of serialization of XDM. Serialization of turtle node, as Evgeny suggests, points to a non-XML syntax serialization. Similarly, consider a simple sequence of values: for $a in (1 to 5) return $a * 5 This cannot be serialized in XML notation at all in any meaningful way. Personally I think that this is where output to sequence notation makes sense: (5,10,15,20,25) which would also be consistent with an XQuery consumption model. This is probably something worth talking to Dr. Michael Kay on, as he was the editor of the XQuery/XSLT Serialization spec, but it would seem to me that any XDM serialization should either resolve to a specific type'd entity, a document node, a sequence of type'd entities or a sequence of document nodes. This would hold true just as readily for the RDF/Turtle use case; in an XQuery environment each assertion would be given either as a text node() or, if supported, as a distinct item(), and the results of a SPARQL query would then be a sequence of such nodes. Kurt Cagle Managing Editor http://xmlToday.org On Sun, Sep 13, 2009 at 11:56 PM, Evgeny Gazdovsky <http://x-query.com/mailman/listinfo/talk>wrote: > What about RDF (any not XML notation) and SPARQL/xSPARQL? > _______________________________________________ > http://x-query.com/mailman/listinfo/talk > http://x-query.com/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://x-query.com/pipermail/talk/attachments/20090914/521bcd87/attachment.htm
|
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
|






