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

Re: XQuery Function Annotations... and XSLT

Subject: Re: XQuery Function Annotations... and XSLT
From: "Adam Retter adam.retter@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 12 Jan 2019 15:17:59 -0000
Re:  XQuery Function Annotations... and XSLT
Hi Dave, that's interesting and in some ways quite relevant.

I could express the annotations in XML and pass them alongside the
function in a sequence. However, I think that would make things quite
tricky indeed in this instance. I was rather looking for something
that "stuck" to the function, but was otherwise opaque.

On Sat, 12 Jan 2019 at 22:38, Dave Pawson dave.pawson@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> https://nwalsh.com/docs/articles/xml2002/lp/paper.html  perhaps?
> Retain as single unit until needed as either code or documentation?
>
> HTH
>
> On Sat, 12 Jan 2019 at 14:25, Adam Retter adam.retter@xxxxxxxxxxxxxx
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > Does anyone know if there is something similar in XSLT to XQuery 3.0's
> > Annotations?
> >
> > I am developing a set of XPath functions, which produce functions.
> > These produced functions can benefit from being treated in a certain
> > manner by a processor.
> >
> > I was thinking of using custom Annotations to label the produced
> > functions, so that a processor would have more information about how
> > they should be evaluated. Unfortunately I just realised that
> > Annotations are defined in the XQuery spec, not the lower XPath spec
> > (as I had assumed).
> >
> > Is there anything equivalent for functions (produced by functions) in XSLT?
> >
> > p.s. I will crosspost to the x-query/talk list as this seems relevant to both.
> >
> > Thanks Adam.
> > --
> > Adam Retter
> >
> > skype: adam.retter
> > tweet: adamretter
> > http://www.adamretter.org.uk
> >
>
>
>
> --
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> 



-- 
Adam Retter

skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk

Current Thread

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
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.