Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-08-03 Thread Erik Zander
Developer Discussion Ämne: Re: [MarkLogic Dev General] XSLT check if result document has been created The closest thing to a map I've found in XSLT is -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-31 Thread Erik Hennum
ån: Ryan Dew [mailto:ryan.j@gmail.com] > Skickat: den 28 juli 2014 17:20 > Till: MarkLogic Developer Discussion > Ämne: Re: [MarkLogic Dev General] XSLT check if result document has > been created > > I believe you should be able to do something like the f

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-31 Thread Garrow, Heather
Logic Developer Discussion Ämne: Re: [MarkLogic Dev General] XSLT check if result document has been created If you want to skip the duplicates, one common pattern is to track them using a map. You could also use distinct-values, but a map can be more efficient. let $m-seen := map:map() for $i i

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-31 Thread Erik Zander
ew [mailto:ryan.j@gmail.com] > Skickat: den 28 juli 2014 17:20 > Till: MarkLogic Developer Discussion > Ämne: Re: [MarkLogic Dev General] XSLT check if result document has > been created > > I believe you should be able to do something like the following to get what > you wan

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-29 Thread Michael Blakeley
ryan.j@gmail.com] > Skickat: den 28 juli 2014 17:20 > Till: MarkLogic Developer Discussion > Ämne: Re: [MarkLogic Dev General] XSLT check if result document has been > created > > I believe you should be able to do something like the following to get what > you want: > &g

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-29 Thread Erik Zander
: [MarkLogic Dev General] XSLT check if result document has been created I believe you should be able to do something like the following to get what you want: mailto:.//@fileref,'/')%22/>> On Mon, Jul 28, 2014 at 9:08 AM, Mary Holstege m

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-28 Thread Ryan Dew
I believe you should be able to do something like the following to get what you want: On Mon, Jul 28, 2014 at 9:08 AM, Mary Holstege wrote: > > I think you may be running afoul of URI resolution. > Since the URI you are giving to doc-available

Re: [MarkLogic Dev General] XSLT check if result document has been created

2014-07-28 Thread Mary Holstege
I think you may be running afoul of URI resolution. Since the URI you are giving to doc-available is a relative URI, it will be resolved relative to the static base URI, which per XSLT is the URI of the stylesheet itself. //Mary On Mon, 28 Jul 2014 07:58:04 -0700, Erik Zander wrote: > Hi All