[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: transform() and xsl:result-document

Subject: Re: transform() and xsl:result-document
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Feb 2021 22:41:08 -0000
Re:  transform() and xsl:result-document
On 19.02.2021 23:20, Graydon graydon@xxxxxxxxx wrote:
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?

https://www.saxonica.com/html/documentation/functions/saxon/analyze-uri.html
could help for Saxon PE or EE.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.