cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ypomonh <ypom...@freemail.gr>
Subject (newbie) Access parameter passed to an XSL transformation from stylesheet
Date Fri, 11 May 2007 14:54:01 GMT
I have a simple pipelineQ

        <map:pipeline>
            <map:match pattern="patternA">
                <map:generate src="cocoon:/patternB"/>
                <map:transform src="style.xsl">
                    <map:parameter name="someParam" 
value="cocoon:/patternC"/>
                </map:transform>
                <map:serialize type="xml"/>
            </map:match>
        </map:pipeline>

and I want to handle the parameter "someParam" in my style.xsl:

    <xsl:variable name="myVariable">
        <xsl:value-of select="someParam/nodeA"/>
    </xsl:variable>

but it returns empty.

What is the correct way to access a parameter passed to an XSL 
transformation from within the XSL stylesheet..?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message