Revision [54]
This is an old revision of XDMSerializeUseCase2 made by DavidLee on 2009-09-18 08:18:41.XDM Serialization Use Case 1
Exchange of XDM data between XDM Tools in different environments
An XDM Producer (for example XQuery) outputs XDM data that it would like to exchange with an XDM Consumer (for example XSLT) which is running in a different environment. Even if the the tools are from the same vendor they cannot directly exchange XDM data because the XDM representation is 'in memory' and cannot cross process boundries.
Actors
XDM Producer: An XQuery process which produces a sequences of nodes.Example
( <node1/> , <node2/> , 3 , "Text" )
XDM Consumer: An XSLT process which accepts a XDM value as a parmeter
Example
<xsl:param name="list"/>
Expected Use
To pass the results from the XDM Producer to the XDM Consumer across environments, a text serialization is produced by the XDM Producer and the resulting file (or byte stream) is reconstituted in the environment of the XDM Consumer.Example of a file based process
xquery -f query.xquery > result.txt xslt -f style.xsl -param-name list -param-file result.txt
XDMSerialize
There are no comments on this page. [Add comment]