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
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
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
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
(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
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
-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
[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
).
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
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
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
).
-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
: 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
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
14 matches
Mail list logo