Re: problem with document() function

2008-06-12 Thread Johannes Hoechstaedter
PROTECTED] Sent: 11 June 2008 16:36 To: users@cocoon.apache.org Subject: Re: problem with document() function Maybe you could wrote a pipeline with a matcher to your $filename and with source pointing to your absolute file? - mika - Heather Rankin kirjoitti: Johannes, If you don't like absolute

problem with document() function

2008-06-11 Thread Johannes Hoechstaedter
Hello everybody, I have a for-each statement in my style sheet: xsl:for-each select=* td input type=text value={current()} name={name()}/ /td /xsl:for-each This snippet puts out the content of all nodes into text fields. Now I

RE: problem with document() function

2008-06-11 Thread Heather Rankin
Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 12:18 To: users@cocoon.apache.org Subject: problem with document() function Hello everybody, I have a for-each statement in my style sheet: xsl:for-each select=* td input type=text value={current()} name

Re: problem with document() function

2008-06-11 Thread Johannes Hoechstaedter
Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document('$filename')/NodeA/NodeB/NodeC / but I got no output. When I insert xsl:value-of select=doc-available('$filename') / for example, nothing works anymore :) The content

RE: problem with document() function

2008-06-11 Thread Heather Rankin
(assuming first /NodeB is NodeB). Heather -Original Message- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 14:58 To: users@cocoon.apache.org Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test

Re: problem with document() function

2008-06-11 Thread Andreas Hartmann
Hi Johannes, Johannes Hoechstaedter schrieb: Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document('$filename')/NodeA/NodeB/NodeC / but I got no output. When I insert xsl:value-of select=doc-available('$filename') / for

Re: problem with document() function

2008-06-11 Thread Johannes Hoechstaedter
-Original Message- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 14:58 To: users@cocoon.apache.org Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
[mailto:[EMAIL PROTECTED] Sent: 11 June 2008 14:58 To: users@cocoon.apache.org Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document('$filename')/NodeA/NodeB/NodeC / but I got

Re: problem with document() function

2008-06-11 Thread Johannes Hoechstaedter
). Heather -Original Message- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 14:58 To: users@cocoon.apache.org Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value

Re: problem with document() function

2008-06-11 Thread Johannes Hoechstaedter
Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document('$filename')/NodeA/NodeB/NodeC / but I got no output. When I insert xsl:value-of select=doc-available('$filename

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
To: users@cocoon.apache.org Subject: Re: problem with document() function Hi Heather, yes I thought the same. Thats what I tried, only to test the document() function: xsl:value-of select=document('$filename')/NodeA/NodeB/NodeC / but I got no output. When I insert xsl:value-of select=doc

RE: problem with document() function

2008-06-11 Thread Heather Rankin
). -Original Message- From: Johannes Hoechstaedter [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 15:58 To: users@cocoon.apache.org Subject: Re: problem with document() function Go away with absolute paths Lehtonen, Mika schrieb: Hi Johannes, maybe you could try absolute path like: * UNIX

Re: problem with document() function

2008-06-11 Thread Lehtonen, Mika
: problem with document() function Go away with absolute paths Lehtonen, Mika schrieb: Hi Johannes, maybe you could try absolute path like: * UNIX ... file:///foo/bar/this.xsl * Windows ... file:///C:/foo/bar/this.xsl Just to make sure that the file is fetched from the right location

RE: problem with document() function

2008-06-11 Thread Dominic Tootell
Message- From: Lehtonen, Mika [mailto:[EMAIL PROTECTED] Sent: 11 June 2008 16:36 To: users@cocoon.apache.org Subject: Re: problem with document() function Maybe you could wrote a pipeline with a matcher to your $filename and with source pointing to your absolute file? - mika - Heather Rankin