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

2014-08-04 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 xsl:key -Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf

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

2014-07-31 Thread Erik Zander
Zander Frå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 following to get what you want

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

2014-07-31 Thread Garrow, Heather
: [MarkLogic Dev General] XSLT check if result document has been created Hello Mike Yes to use a map would be ideal, and actually one of my first thoughts however upon googling for maps and xslt I got the impression that XSLT doesn't have maps, is that the case? If so I would have to write my own map

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

2014-07-31 Thread Erik Hennum
anyway /Erik Zander Frå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 following to get what

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

2014-07-29 Thread Erik Zander
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: xsl:template match=//db:informalfigure[descendant::db:imagedata and @role='figure'] xsl:variable name=curImage select=substring-after

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

2014-07-29 Thread Michael Blakeley
[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 want: xsl:template match

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

2014-07-28 Thread Erik Zander
Hi All I’m working on an xslt transform where I’m extracting data about images from a document and put that data into result document, It all works fine except for when the same image occurs more than once as I then get conflicting uris, my code looks like this xsl:template

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

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: xsl:template match=//db:informalfigure[descendant::db:imagedata and @role='figure'] xsl:variable name=curImage select= substring-after(.//@fileref,'/')/ xsl:variable name=id select=