Re: V.next: Use case: XQuery inputs ...

On Wed, Feb 1, 2012 at 1:14 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> Alex Milowski <alex@milowski.com> writes:
>> I just think I should be able to directly point to the XQuery as
>> non-XML resource.  The XQuery step (or the the MarkLogic query steps)
>> now must take the XQuery that the XProc implementation has just
>> wrapped and escaped and turn right around and unwrap it.
>
> Ah, that wasn't clear from your description. You want:
>
>  <p:xquery href="/path/to/my/.xqy"/>
>
> Is it then an error if a document appears on the query port?
>

Well, it wouldn't have to be an error.  If we had media types, we
could differentiate between application/xquery and application/xml.
:)


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics

Received on Wednesday, 1 February 2012 22:01:47 UTC