Subject: Re: [xsl] XQuery Function Annotations... and XSLT From: "Adam Retter adam.retter@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 12 Jan 2019 15:17:59 -0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XQuery Function Annotatio, Dave Pawson dave.paw | Thread | Re: [xsl] XQuery Function Annotatio, Dimitre Novatchev dn |
Re: [xsl] XQuery Function Annotatio, Dave Pawson dave.paw | Date | Re: [xsl] XQuery Function Annotatio, Dimitre Novatchev dn |
Month |