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

Re: Extract input filename

Subject: Re: Extract input filename
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 17 May 2007 16:10:56 +0200
Re:  Extract input filename
J. S. Rawat wrote:
At 11:10 AM 5/17/2007 +0100, you wrote:
Well, that probably means you changed the parameter name from "meta" to
"data" in one place but not in the other place.

Please have look over following. Is it right? But the error is same.


<xsl:param name="meta" as="xs:string" required="yes"/>
<xsl:variable name="filename" select="document($meta)" />
<xsl:template match="/">
        <doi>
      <xsl:copy-of select="$filename/doi/text()" />
        </doi>
</xsl:template>

that is not possible: you cannot have an error saying that you did not supply a value for parameter 'data' and not have a parameter data in your stylesheet. You are not showing the relevant parts. If you also have a parameter 'data', then you have to set that one too.


For a follow-up, please create minimal example that includes a complete stylesheet and the command line you used. Test the example before you post it and copy and paste the exact error you get.

-- Abel

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.