Subject: Re: [xsl] Extract input filename From: "J. S. Rawat" <jrawat@xxxxxxxxxxxxxx> Date: Fri, 18 May 2007 09:32:24 +0530 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Extract input filename, Abel Braaksma | Thread | [xsl] [ANN] oNVDL adds an XSLT 2.0 , George Cristian Bina |
Re: [xsl] How do I change a XSL sty, Abel Braaksma | Date | Re: [xsl] Retrieve images from a RS, M. David Peterson |
Month |