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

referring to base output URI in xsl:document-result

Subject: referring to base output URI in xsl:document-result
From: Helka Folch <hfolch@xxxxxxx>
Date: Wed, 21 Jul 2004 19:50:22 +0200
helka folch
How can I refer to the base output URI in the href attribute of the document-result XSLT element?

I would like to have a template that uses the output URI specified in a parameter. If no parameter is specified, it uses the base output uri.

I tried the following using an empty string as value of href to refer to the base output uri but it doesn't work :

<xsl:template match="doc">
   <xsl:param name="outputFile"  select="''"/>
   <xsl:result-document  href="{$outputFile}"/>



(I also tried specifying "." as the default value of the parameter, but this refers to the base output uri directory, not to the output uri itself)

Thanks a lot.

Helka Folch

Current Thread


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.
First Name
Last Name
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.