[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|