Hallo
It does not work. But I found another solution. I send this name with other
params to function.
Thanks anyway.
Kris
> Hi Kris,
>
> I'm not sure if I caught your problem, but let me give it a try...
>
> - I have no XSL docs at hand but does "+" really work? I'd try
> concat('//[EMAIL PROTECTED]', docID, '/docName')
> - What about xsl:variable or xsl:param ? I doubt it works with just "docId".
>
> Perhaps this link may help:
> http://www.cafeconleche.org/books/bible2/chapters/ch17.html
>
> Bye,
> Florian
>
>
> km wrote:
> > Hello
> >
> > I have a problem, maybe someone can halp me to solve it.
> >
> > I use javascript function for statistic. I need to give a name of document,
> > that will be downloaded. I can send on function an ID (docId) of this
> > document and I need to find a name.
> >
> > I can find the way to the document.
> >
> > I tried:
> >
> > <xsl:value-of select="//[EMAIL PROTECTED]" + docId + "]/docName"/>;
> >
> > and other combinations. But I still have no result.
> >
> > If I try: "//[EMAIL PROTECTED]" + docId + "]/docName";
> >
> > I get: //[EMAIL PROTECTED]/docName -> XXX ist the value of docId.
> >
> > I use Cocoon 2.1 and Apache 5.1
> >
> > Thank for any help.
> >
> > Kris
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
****************************
kmConsulting
Krzysztof Murmylo
Mobil: +49 179 31 53 791
eMail: [EMAIL PROTECTED]
http://www.kmconsulting.org
****************************
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]