Next in thread → Next in month →

RE: [xml-dev] xquery can't find xinclude elements?

From
<>
To
Date
2011-01-19T13:36:19Z
ID
<>
Thread
RE: [xml-dev] xquery can't find xinclude elements?
> -----Original Message-----
> From: Michael Sokolov [mailto:]
> Sent: Wednesday, January 19, 2011 2:20 PM
> To: Michael Kay
> Cc: 
> Subject: Re: [xml-dev] xquery can't find xinclude elements?
> 
> Yes, and even if your parser supports xinclude, it's unlikely to
> support
> xpointer in any case.
> 
> You could probably achieve something similar (ie implement
> xinclude/xpointer yourself) in xquery, or xslt.
> 

...or (including XPointer) in XProc:

...
<p:xinclude>
  <p:input port="source">
    <p:document href="myFile.xml"/>
  </p:input>
</p:xinclude>
<p:xquery>
  ...
</p:xquery>
...

Regards,
Vojtech

--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group

http://developer.emc.com/xmltech
Next in thread → Next in month →