External Entity in sitemap

2008-08-20 Thread Heather Rankin
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

RE: External Entity in sitemap

2008-08-20 Thread Heather Rankin
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

RE: External Entity in sitemap

2008-08-20 Thread Heather Rankin
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

RE: call pipeline from XSLT

2008-07-15 Thread Heather Rankin
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

RE: Re: block communication and page fragment

2008-07-14 Thread Heather Rankin
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

call pipeline from XSLT

2008-07-10 Thread Heather Rankin
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

RE: call pipeline from XSLT

2008-07-10 Thread Heather Rankin
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

Using replace() function with SQL Transformer

2008-07-07 Thread Heather Rankin
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

RE: Using replace() function with SQL Transformer

2008-07-07 Thread Heather Rankin
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

RE: problem with document() function

2008-06-11 Thread Heather Rankin
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

RE: problem with document() function

2008-06-11 Thread Heather Rankin
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

RE: problem with document() function

2008-06-11 Thread Heather Rankin
/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

character-maps in cocoon

2008-06-09 Thread Heather Rankin
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

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
: 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

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
: 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

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
] 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

RE: copy-of select

2008-06-09 Thread Heather Rankin
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

Strange XSLT transformer behaviour?

2008-04-22 Thread Heather Rankin
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

RE: Strange XSLT transformer behaviour?

2008-04-22 Thread Heather Rankin
-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

NEWBIE question: HTML Generator

2008-04-16 Thread Heather Rankin
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

RE: NEWBIE question: HTML Generator

2008-04-16 Thread Heather Rankin
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

RE: NEWBIE question: HTML Generator

2008-04-16 Thread Heather Rankin
: 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