Hi,
I'm using 2.2 and want to include an xml fragment in my sitemap using
entities. The xml fragment I want to include sits inside another block.
Can I use something like blockcontext:/ to access it? E.g. something
like this:
!DOCTYPE sitemap [
!ENTITY resource
for a generator or as part of
an aggregation at the generator stage and the matcher would have to
serialize xml at the end of its pipeline.
Hope this helps,
Warrell
2008/8/20 Luca Morandini [EMAIL PROTECTED]
Heather Rankin wrote:
I'm using 2.2 and want
say a
little bit more about WHAT you are trying to achieve rather than just
the HOW you are trying to do it:)
All the George (best),
Warrell
2008/8/20 Heather Rankin [EMAIL PROTECTED]
Thanks Warrell and Luca,
Just for some background, going the xml entity route wasn't my
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 11 July 2008 23:09
To: users@cocoon.apache.org
Subject: Re: call pipeline from XSLT
On 7/10/08, Heather Rankin [EMAIL PROTECTED] wrote:
I want to be able to call a pipeline from another pipeline's XSLT in
the same
Or you can use the Include Transformer. Create a skeleton XML file that
references the XML fragments/transformation results you want to piece
together. E.g. myXML.xml:
doc
include:include src=cocoon://block1/
include:include src=cocoon://block2/
/doc
Pulls in the XML generated from the following
Hi,
I want to be able to call a pipeline from another pipeline's XSLT in the
same sitemap. (The reason I need to call the pipeline from the XSLT as
opposed to from the sitemap directly is because I need to pass the XML
input data as parameters and I see no other way of doing this.)
Seems I
Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
-Original Message-
From: Heather Rankin [mailto:[EMAIL PROTECTED]
Sent: donderdag 10 juli 2008 15:55
To: users@cocoon.apache.org
Subject: call pipeline from XSLT
Hi
Hi,
Using SQL Transformer how do I get the result from a function - e.g.
replace() - to appear within a specific sql tag in the XML results?
E.g.
I want:
SELECT COL1, COL2, REPLACE(COL3,'x','c'), COL4 FROM TABLE1 ...
to produce something like:
sql:rowset
sql:row
sql:col1a/sql:col1
putting an as clause in the SQL?
SELECT COL1, COL2, REPLACE(COL3,'x','c') AS COL3, COL4 FROM
TABLE1 ...
Bng
On Mon, 2008-07-07 at 17:50 +0100, Heather Rankin wrote:
Hi,
Using SQL Transformer how do I get the result from a function - e.g.
replace() - to appear within a specific sql tag
Hi Johannes,
You should be able to use the document() function to interrogate the
contents of an external XML file. It is also a good idea to use
doc-available() first to check for the existence of the file and build
the tree in memory.
Heather
-Original Message-
From: Johannes
NodeC
text
/NodeC
/NodeB
/NodeA
Could it be still a path issue?
Heather Rankin schrieb:
Hi Johannes,
You should be able to use the document() function to interrogate the
contents of an external XML file. It is also a good idea to use
doc-available
/internal/sql/configuration,
and I access it by resource/internal/sql/configuration/filename. I
think it is correct or?.
Heather Rankin schrieb:
Hi Johannes,
Well firstly if you're using a variable to store your filename you
shouldn't need quotes around it. Should just be xsl:value-of
select
Hi,
Are character-maps supported in Cocoon 2.1? I need to replace lt; and
gt; entity references with the literal characters '' and '' and can't
get it to work in Cocoon. I have the following character-map in my XSLT:
xsl:output use-character-maps=cm1 method=xml indent=yes
encoding=UTF-8
: Jeroen Reijn [mailto:[EMAIL PROTECTED]
Sent: 09 June 2008 11:38
To: users@cocoon.apache.org
Subject: Re: character-maps in cocoon
Hi!
You could try to use disable-output-escaping in your xslt files. Maybe
that will help.
Regards,
Jeroen
Heather Rankin wrote:
Hi,
Are character-maps supported
: maandag 9 juni 2008 12:38
To: users@cocoon.apache.org
Subject: Re: character-maps in cocoon
Hi!
You could try to use disable-output-escaping in your xslt files. Maybe
that will help.
Regards,
Jeroen
Heather Rankin wrote:
Hi,
Are character-maps supported in Cocoon 2.1? I
]
Sent: maandag 9 juni 2008 12:38
To: users@cocoon.apache.org
Subject: Re: character-maps in cocoon
Hi!
You could try to use disable-output-escaping in your xslt files. Maybe
that will help.
Regards,
Jeroen
Heather Rankin wrote:
Hi,
Are character-maps supported in Cocoon 2.1
Hi Johannes,
You say Cocoon copies everything through when you use xsl:copy-of
select=./, but what happens when you use xsl:copy-of
select=sql:email/? What does your source SQL XML look like?
I suspect the xpath in your copy-of select / probably just needs a
little adjusting, but without seeing
Hi,
I'm a newbie. Using Cocoon 2.1.11 and the following simple pipeline:
map:match pattern=submit-url
map:generate src={request-param:url} type=html /
map:transform src=stylesheets/form-wrapper.xsl type=xslt/
map:serialize type=xhtml /
/map:match
I noticed
-templates call does
not match, you might try the following:
xsl:template match=/
xsl:if test=html/head/title
pxsl:apply-templates select=html/head/title/p psome more stuff/p
/xsl:if /xsl:template
Rainer
Heather Rankin schrieb:
Hi,
I'm a newbie. Using Cocoon 2.1.11 and the following simple
Hi,
Wondering if anyone can help me... I'm brand new to Cocoon and am trying
to execute this simple pipeline:
map:match pattern=myPipeline
map:generate
src=http://www.geekculture.com/mt2/archives/2008/04/forum_tidbits_f_390
.html type=html /
map:serialize type=xml/
/map:match
access?
It seems cocoon can't reach the host from the internal http connection.
Regards,
Jeroen
-Original Message-
From: Heather Rankin [mailto:[EMAIL PROTECTED]
Sent: Wed 4/16/2008 11:59 AM
To: users@cocoon.apache.org
Subject: NEWBIE question: HTML Generator
Hi,
Wondering
: HTML Generator
Hi Heather,
you will need to provide your application container (tomcat,jetty, etc)
with the correct proxy settings.
See:
http://wiki.apache.org/cocoon/FAQs#head-89e170fb6bab33c40eddcbe152bbf46d
1c6ece76
Regards.
Jeroen
-Original Message-
From: Heather Rankin [mailto
22 matches
Mail list logo