Ok, I see the source of the problem now. I am trying to resolve the value of a variable from within an xml document, not within the stylesheet. I'm using the xml document to collect a bunch of xml documents using cinclude. That's where I need to have the name of a file requested in the uri by the user. So the question becomes how to pass the name of a file to a cinclude:include directive inside an xml document, if that makes sense.
I will say that this user group is extremely helpful and courteous, the Cocoon platform is awesome, and I hope to be able to give back when I learn enough to contribute. David --- Jorg Heymans <[EMAIL PROTECTED]> wrote: > in the sitemap you do > > <map:transform blah... > <map:parameter name="myparam" value="{1}"/> > </map:transform> > > then in your stylesheet do > <xsl:param name="myparam"/> > > David Swearingen wrote: > > I thought this would be easy...I'm trying to pass a variable > defined in > > the Sitemap, and retrieve it in the Stylesheet. > > > > Specifically, I have {1} defined in the sitemap, which is the > basename > > of a file, and I want to refer to this filename in a stylesheet > that's > > called by a transformer. I'm then going to reference this filename > in > > the src attribute of a cinclude:include tag in the stylesheet. > Need > > to know a) how to define it in sitemap and b) how to retrieve it in > > stylesheet. > > > > Thanks, > > David > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Tax Center - File online by April 15th > > http://taxes.yahoo.com/filing.html > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]