[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xquery and xsl

  • From: "Michael Kay" <mike@s...>
  • To: <rob@k...>,"'xml-dev'" <xml-dev@l...>
  • Date: Fri, 11 Jul 2008 14:44:22 +0100

RE:  xquery and xsl
Saxon already allows the second of these two:

http://www.saxonica.com/documentation/extensions/instructions/import-query.h
tml

The only real difficulty with the first (calling XSLT from XQuery) is
working out how things like import precedence should fit into the picture.

There's no difference in the data models and type systems used by XSLT and
XQuery, so there's no reason why they shouldn't interoperate at this kind of
level.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: Robert Koberg [mailto:rob@k...] 
> Sent: 11 July 2008 13:41
> To: xml-dev
> Subject:  xquery and xsl
> 
> Hi,
> 
> What are the impediments to using the same internal tree for 
> both XQuery and XSL? Do the respective processors require 
> different types of trees?
> 
> Wouldn't it be lovely if you could do:
> 
> import module namespace 
> xsl="http://www.w3.org/1999/XSL/Transform" at "view.xsl";
> 
> and then use:
> 
> xsl:apply-templates(nodes [, "some-mode", ((param1=x), (param2=y))])
> 
> Similary in XSL:
> 
> <xsl:import href="controller.xq"/>
> 
> and call out to XQuery functions.
> 
> Will the two ever be able to couple or are their interfacing 
> parts incompatible?
> 
> best,
> -Rob
> 
> 
> 
> ______________________________________________________________
> _________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by 
> OASIS to support XML implementation and development. To 
> minimize spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l... List archive: 
> http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.