xsl-list
[Top] [All Lists]

[xsl] transform() and xsl:result-document

2021-02-19 16:19:51
I'm using Saxon 10.3 to process an XSLT 3 stylesheet.

Using xsl:result-document inside the stylesheet called by the
transform() function, I get back a map entry in the map returned by
transform() where the key derives from the href attribute of
xsl:result-document.

So if I do something like:

<xsl:result-document href="/file1">
...
</xsl:result-document>

I get back "file:/file1" as the key value in the map returned by the
transform function.

Is there some way to get back a map entry with a key that doesn't have a
prepended scheme?  "file1" in this case?

Thanks!

-- 
Graydon Saunders  | graydonish(_at_)gmail(_dot_)com
Þæs oferéode, ðisses swá mæg.
-- Deor  ("That passed, so may this.")
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>