Re: XInclude-problems with Cocoon2.0.4

2003-03-12 Thread Uwe Gerger
Hello, the interesting thing is that in version 2.0.3 the use of namespaces works correctly! Should I use the XInclude-Transformer from this version? Thanks Uwe [EMAIL PROTECTED] schrieb: > > Uwe Gerger wrote: > > >Hello, > >I would like to use xinclude-statements in my xml-file with C

Re: XInclude-problems with Cocoon2.0.4

2003-03-12 Thread Charles Yates
Uwe Gerger wrote: Hello, I would like to use xinclude-statements in my xml-file with Cocoon2.0.4 with my own tags for example . Specifying such a tag as follows doesn't work. Instead using works! What's wrong? quoting from XIncludeTransformer javadoc: "My first pass at an XInclude tran

Re: XInclude recursion

2003-03-11 Thread Charles Yates
Cocoon's pipeline transformation model makes this sort of recursion difficult to implement. You could write a tranformer to do this, but it would be simpler to have multiple XIncludeTransformers in the pipeline. Charles Darren Petrie wrote: Is anybody using XInclude in a recursive manner? I'

Re: XInclude or CInclude working in Cocoon 2.0.4?

2003-02-14 Thread Diana Shannon
On Friday, February 14, 2003, at 12:24 PM, Diana Shannon wrote: xinclude works for me. Here are a few snippets: |--- file snippet (with and without xpointer) ---| - or - |--- sitemap snippet ---| |--- file hierarchy ---| - sitemap.xmap - resources/ -- xdocs/ --- content/ p

Re: XInclude or CInclude working in Cocoon 2.0.4?

2003-02-14 Thread Diana Shannon
On Friday, February 14, 2003, at 10:04 AM, Peter Klotz wrote: 1. Xinclude the output is empty and cut off. There was a posting that one should use a attribute base="file:/path" because Cocoon would consider the URL relative to the application base directory under webapps. That is not menti

RE: XInclude or CInclude working in Cocoon 2.0.4?

2003-02-14 Thread Tsui, Alban
I cannot remember exactly what I did but ... you might need to have something like cocoon://path/file.xml instead. Try this and see if it works. -Original Message- From: Peter Klotz [mailto:[EMAIL PROTECTED]] Sent: 14 February 2003 15:04 To: [EMAIL PROTECTED] Subject: XInclude or CInclude

Re: Xinclude with XSL?

2003-02-14 Thread Yury Mikhienko
On Thu, 13 Feb 2003 19:38:01 + g4 <[EMAIL PROTECTED]> wrote: > Hi there list, > > is it possible to use Xinclude within XSL? At present I have this: > > > http://www.w3.org/1999/XSL/Transform"; > version='1.0' > xmlns:xlink="http://www.w3.org/1999/xlink"; >

Re: xinclude performance issues,

2003-01-20 Thread icewind
I tried the XPathDirectory generator. It seems like using it will improve performance, but I don't think the performance boost will be enough. It was originally taking around 14 seconds to process the process around 30 XML files. With the XPathDirectory generator, it takes around 7 seconds. However

Re: xinclude performance issues,

2003-01-20 Thread Jeff Turner
On Thu, Jan 16, 2003 at 03:11:37PM -0800, icewind wrote: > Let me describe what I am doing: > > I have a directory that contains .xml files. In my > sitemap, I have a pipeline that starts with a > DirectoryGenerator on this directory. I then have a > transformation that takes the directorygenerato

Re: xinclude performance issues,

2003-01-19 Thread Christoph Gaffga
ctModel, src, par); } public void recycle() { this.par = null; super.recycle(); } } hope, that will help you. Perhaps you can submit your DirectoryAggregator to the cocoon project. Christoph Gaffga [EMAIL PROTECTED] From: "icewind" <[EMAIL PROTECTED]> Subject: Re: xin

RE: xinclude performance issues,

2003-01-17 Thread Artur Bialecki
The XIncludeTransformer parses the included file into DOM, and then streams the included part back into SAX. In my case I have 1000 pages including parts of 10 others so I hacked the XIncludeTransformer to keep the DOMs of those 10 pages in memory. This is not the best solution but it's fastee,

Re: xinclude performance issues,

2003-01-17 Thread Christoph Gaffga
Hi, We had the same Problem, instead of aggregating all files from a directory we had to aggregate all files/components from a list in our DB. The only solution we found, that would make sence in terms of perfomance, was to write our own Aggregator. You could simply extend Cocoon Default Aggregato

Re: xinclude support or not?

2002-12-08 Thread Gabriele Domenichini
Of course you have to had the xinclude trasformer in the map... Joerg Heinicke wrote: Should work without any problem. Did you declare the namespace prefix xi? How does your sitemap matcher look like? Joerg Cocoon User wrote: is there any working example under cocoon i try to use xinclude in

Re: xinclude support or not?

2002-12-08 Thread Joerg Heinicke
Should work without any problem. Did you declare the namespace prefix xi? How does your sitemap matcher look like? Joerg Cocoon User wrote: is there any working example under cocoon i try to use xinclude inside an .xsp but without success my code is somethingi have missed or just th

Re: xInclude and SQL Transformer NullPointerException

2002-10-16 Thread Timothy Larson
I had a similar problem. When I used the XInclude transformer, I got a NullPointerException when I tried to refer to the results with the "cocoon:/" protocol. Here was my solution (bad hack, but it worked): I made a stylesheet "copy-of.xsl" that simply copied what it was passed without changing

Re: XInclude generated by XSL

2002-10-01 Thread Johannes Koch
Michael Wechner wrote: > Do you use XInclude or CInclude? XInclude. > Did you ever try with > > ? No, not yet. > Although you then need "another" pipeline to generate included.xml. > > Although your original version should work principally. Yes, I hoped so :-| -- Johannes Koch . IT Develop

Re: XInclude generated by XSL

2002-09-30 Thread Michael Wechner
Do you use XInclude or CInclude? Did you ever try with ? Although you then need "another" pipeline to generate included.xml. Although your original version should work principally. HTH Michael Johannes Koch wrote: > Hi, > > I want to add an xi:include element by XSLT and then use the xin

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Andrew C. Oliver
Humm. I'll try that. I still hope someone will look at my patch to CInclude as: 1. I imagine that its faster 2. I like the syntax better 3. I don't know why it shouldn't support some form of element selection. -Andy Stephan Michels wrote: >On 7 Jul 2002, Andrew C. Oliver wrote: > > > >>>h

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-08 Thread Michael Wechner
oh, I am sorry, I made another mistake, you can't use the cocoon protocol (or any) within the href. You have to do it as follows: or for instance: http://www.cmswatch.com"; href="/RSS/cmswatch.xml"/> I mixed that up because I am currently using my own XInclude Processor, where I can use the

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Stephan Michels
On 7 Jul 2002, Andrew C. Oliver wrote: > href="cocoon:/categories_combo.xml#xpointer(xformcategories/*)" > parse="xml"/> > > does this for me: > > org.apache.cocoon.ResourceNotFoundException: Resource not found.: > org.apache.excalibur.source.SourceNotFoundException: Resource not found > >file

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Ivelin Ivanov
CInclude's namespaces. How did you decide to improve CInclude vs fixing XInclude. -=Ivelin - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: "cocoon users" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, July 07,

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Andrew C. Oliver
in this email that sounds arrogant is actually a whole day/weekend of frustration suddenly alleviated -- exuberance) Thanks, -Andy > > > > - Original Message - > From: "Andrew C. Oliver" <[EMAIL PROTECTED]> > To: "cocoon users" <[EMAIL

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Ivelin Ivanov
I'm sure there must be a more elegant way to solve the problem. We just need to wait a bit to hear from the XInclude developers. - Original Message - From: "Andrew C. Oliver" <[EMAIL PROTECTED]> To: "cocoon users" <[EMAIL PROTECTED]> Sent: Sund

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Andrew C. Oliver
Thanks but XInclude really likes files: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml On Mon, 2002-07-08 at

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Andrew C. Oliver
does this for me: org.apache.cocoon.ResourceNotFoundException: Resource not found.: org.apache.excalibur.source.SourceNotFoundException: Resource not found file:/opt/tomcat/webapps/cocoon/samples/bringmethis/content/form/cocoon:/categories_combo.xml So it looks like I'm stuck with an additiona

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Michael Wechner
> > href="cocoon:/categories_combo.xml#xpointer(xformcategories/*)" > parse="xml"/> > > Perhaps you forget the 'parse' attribute? XInclude supports the cocoon protocol and XPointer. As I know CInclude does not support XPointer (which you already said, sorry), which would mean you have to u

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Stephan Michels
On 7 Jul 2002, Andrew C. Oliver wrote: > Hi, > > Thanks for your reply. This is very close to what I want. > So I'm almost there, but I have to have a root element on the > categories_combo.xml "page". Its . I only > want whats in between the root element. CInclude appears to not > support t

Re: XInclude/CInclude Issue (Re: including dynamic data withXMLForm)

2002-07-07 Thread Andrew C. Oliver
Hi, Thanks for your reply. This is very close to what I want. So I'm almost there, but I have to have a root element on the categories_combo.xml "page". Its . I only want whats in between the root element. CInclude appears to not support the xpointer as it was trying to treat it as part of t

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread Stephan Michels
On Sun, 7 Jul 2002, Ivelin Ivanov wrote: > > We could use some help from the XInclude/Cinclude experts for > the problem Oliver is trying to solve. > > > - Original Message - > From: "Andrew C. Oliver" <[EMAIL PROTECTED]> > To: "cocoon users" <[EMAIL PROTECTED]> > Sent: Sunday, July 07,

Re: XInclude/CInclude Issue (Re: including dynamic data with XMLForm)

2002-07-07 Thread WeikelQ
Pleae change Neil Weikel's e-mail to [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[E

Re: Xinclude Problem

2002-05-27 Thread Margrit John
> > In the Browser I get the following error statement: > > > > root cause > > java.lang.OutOfMemoryError > > <> > > > > Cocoon runs properly, if I remove all the (in > > the xml- and > > xslt- and xsp-files) > > > > Are the xi:include really the problem? > > Do you have a stack trace

RE: Xinclude Problem

2002-05-24 Thread Conal Tuohy
> -Original Message- > From: Margrit John [mailto:[EMAIL PROTECTED]] > Sent: Saturday, 25 May 2002 17:35 > Subject: Xinclude Problem > > > In the Browser I get the following error statement: > > root cause > java.lang.OutOfMemoryError > <> > > Cocoon runs properly, if I remove

RE: XInclude

2002-05-07 Thread Vadim Gritsenko
You should use base="" attribute. IIRC: Vadim -- Resistance is futile. > From: Graaf, Edgar de (fin) [mailto:[EMAIL PROTECTED]] > > This probably already has been discussed. > But I have two files I want to aggregate. One way to do it is with > map:aggregate. > However xinclude has more pos

RE: xinclude

2002-05-06 Thread Vadim Gritsenko
> From: Margrit John [mailto:[EMAIL PROTECTED]] > > Hi! > I have the two xml files below. In the sitemap I want to generate the xml out > of these two files. My output (default.xml) is the following: > > > http://www.w3.org/2001/XInclude";> > > > > > > > > > > Why doesn't it resolve th

RE: XInclude-Transform between the "xsp:logic"-Tag

2002-04-22 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > > Hello, > > I want to make an XInclude-Transform between the "xsp:logic"-Tag. But there > happens an "org.apache.cocoon.components.language.LanguageException". > I think the Problem is the order. The XIncludeTransforme must perform > bef

RE: XInclude - optimization/alternatives to

2002-04-02 Thread Sreedhar Chintalapaty
ssage- From: Axel Honfi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 11:09 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: XInclude - optimization/alternatives to Hi! I would first generate the data(featured article) and then format it with xslt. Another way would be to gen

RE: XInclude - optimization/alternatives to

2002-04-02 Thread Axel Honfi
Hi! I would first generate the data(featured article) and then format it with xslt. Another way would be to generate the content-page, then include the data one time, and then format it with xslt. I have pipelines with up to four xslt-transformations, because I think that's faster(especially if y

Re: xinclude problem

2002-03-11 Thread Stefano Bonnin
OK OK There was an error in the included xml document. Thanks - Original Message - From: "Stefano Bonnin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 10:17 AM Subject: Re: xinclude problem > Yes I taje a look at this add

Re: xinclude problem

2002-03-11 Thread Stefano Bonnin
tefano Bonnin" <[EMAIL PROTECTED]> Sent: Friday, March 08, 2002 3:33 AM Subject: Re: xinclude problem > > Sorry, hit send before pasting the link: > > RTFM at > http://xml.apache.org/cocoon/userdocs/transformers/xinclude-transformer.html > > > This takes an HREF.

Re: xinclude problem

2002-03-07 Thread Benjamin Grant
Sorry, hit send before pasting the link: RTFM at http://xml.apache.org/cocoon/userdocs/transformers/xinclude-transformer.html This takes an HREF. Might work w/ xsp:expr, never tried... On Thursday 07 March 2002 07:50 am, Stefano Bonnin wrote: > Hi I'm trying to use XInclude transf

Re: xinclude problem

2002-03-07 Thread Benjamin Grant
RTFM: On Thursday 07 March 2002 07:50 am, you wrote: > Hi I'm trying to use XInclude transformer but when I run the Cocoon > application I receive the following error > > An error occurred > The org.apache.cocoon.www.sitemap_xmap notifies that > org.apache.cocoon.ProcessingException says: >

RE: Réf. : RE: Xinclude + cocoon pseudo protocol

2002-03-05 Thread Matthieu Benéteau
hage/Source menu of your browser. It's very useful when you want to see what has been produced. Cheers, Matthieu > -Message d'origine- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 5 mars 2002 09:50 > Objet : Réf. : RE: Xinclude + cocoon pseu

Réf. : RE: Xinclude + cocoon pseudo protocol

2002-03-05 Thread doan-tin . le
rizon.net> cc : Objet : RE: Xinclude + cocoon pseudo 04/03/2002 23:49 protocol

RE: Xinclude + cocoon pseudo protocol

2002-03-04 Thread Vadim Gritsenko
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Hi, > > I need to perform some inclusions into an XSL stylesheet using the cocoon > pseudo-protocol. > what i've tried to do is have two pipelines in my sitemap. > The main pipeline generates a XML file, which is transformed with an XSL >

RE: Xinclude to include

2002-01-17 Thread Mitchell Christensen
Alex, There is a bug/feature in the XInclude transformer which assumes that unless a base attribute is specified somewhere, the 's href value is a filename, and prepends the Cocoon install path in front of it. This is probably turning your "http://slashdot.org/"; into "/usr/local/tomcat/webapps/

RE: Xinclude for Dummies

2001-12-05 Thread Luke Studley
Hi Sebastien I am new to C2 but am trying to do something similar as well. Try looking at http://xml.apache.org/cocoon/userdocs/transformers/xinclude-transformer.html I haven't used it yet - but it looks promising. Luke -Original Message- From: Sebastian Mäder [mailto:[EMAIL PROTECT

Re: XInclude

2001-11-26 Thread Michael McKibben
I used the source from cvs. Regards, --mike On Thu, 22 Nov 2001, Stephan Michels wrote: > > > On Tue, 20 Nov 2001, Michael McKibben wrote: > > > Ahh yes you are correct. I've been using a modified XInclude transformer > > that uses a custom URI class to better handle uri's supplied via the hre

Re: XInclude

2001-11-22 Thread Stephan Michels
On Tue, 20 Nov 2001, Michael McKibben wrote: > Ahh yes you are correct. I've been using a modified XInclude transformer > that uses a custom URI class to better handle uri's supplied via the href > attribute. This modified version correctly handles relative/absolute URI's > (including the Cocoo

Re: XInclude

2001-11-21 Thread Stephan Michels
On Wed, 21 Nov 2001, Bernhard Huber wrote: > Check logkit.xconf enable DEBUG, > Check web.xml enable DEBUG Thanx, I found following entry in cocoon.log.1 DEBUG (2001-11-21) 12:03.41:729 [cocoon ] (/ch/1/pc/xmltest/vscml/vsc10-example2) HttpProcessor[8080][1]/XIncludeTransformer: Proce

Ant: Re: XInclude

2001-11-21 Thread Bernhard Huber
Check logkit.xconf enable DEBUG, Check web.xml enable DEBUG Huber Bernhard, email: [EMAIL PROTECTED], homepage: members.a1.net/berni_huber/index.html - Ursprüngliche Nachricht - Von: Stephan Michels <[EMAIL PROTECTED]> Datum: Mittwoch, November 21, 2001 11:32 Betreff: Re: XI

Re: XInclude

2001-11-21 Thread Stephan Michels
On Wed, 21 Nov 2001, Bernhard Huber wrote: > Try using after xinclude, this will show you > the xml-content > after xinclude transformation, and before xinclude > Perhaps the xslt processing eats up the include element? > Use copyover.xsl to copy elements see in the documents stylesheet > dire

Re: XInclude

2001-11-20 Thread Michael McKibben
Ahh yes you are correct. I've been using a modified XInclude transformer that uses a custom URI class to better handle uri's supplied via the href attribute. This modified version correctly handles relative/absolute URI's (including the Cocoon custom protocols.) I haven't submitted it back to the

Re: XInclude

2001-11-20 Thread Stephan Michels
On Tue, 20 Nov 2001, Michael McKibben wrote: > Also, don't forget the parse="xml" attribute on your xinclude element. I > didn't see it in the original example you sent. > I thought this were the default. >From XInclude.java(87): if (null == parse) parse="xml";

Re: XInclude

2001-11-20 Thread Michael McKibben
Also, don't forget the parse="xml" attribute on your xinclude element. I didn't see it in the original example you sent. Regards, --mike On Wed, 21 Nov 2001, Bernhard Huber wrote: > Try using after xinclude, this will show you > the xml-content > after xinclude transformation, and before xinc

Re: XInclude

2001-11-20 Thread Bernhard Huber
Try using after xinclude, this will show you the xml-content after xinclude transformation, and before xinclude Perhaps the xslt processing eats up the include element? Use copyover.xsl to copy elements see in the documents stylesheet directory for copyover. bye Stephan Michels wrote: > >On

Re: XInclude

2001-11-20 Thread Stephan Michels
On Tue, 20 Nov 2001, Bernhard Huber wrote: > hi, > have included the in the pipeline of > your sitemap? > > something like that: > > > > > Stephan Michels wrote: > > >Hi, > >has anyone a working example for the xinclude transformer. My example > >d

Re: XInclude

2001-11-20 Thread Bernhard Huber
hi, have included the in the pipeline of your sitemap? something like that: >I couldn't find an error in the log files. > >I have also a question, must I use "file://"? > >Thanx, Stephan Michels. > > >---

RE: Xinclude Example?

2001-11-16 Thread thorsten . sommer
As an example of use cocoon2/webapp/stylesheet/dynamic-page2html.xsl. But I don't know anything about Xinclude or . But if is analogous to in Cocoon1, then you would have the possiblity to include one xsl-Tree (represented by an uri) into another one - in contrast to which is used (more or les

Re: Xinclude Example?

2001-11-16 Thread Tomas Espeleta
> - Are there any examples for using Xinclude with cocoon2? Don't know, I'm using Cocoon1 > - Has the command "util:include-uri" the same behaviour as Xinclude? As far as I know, Xinclude is a "transformer", http://xml.apache.org/cocoon2/userdocs/transformers/xinclude-transformer.htm l, while u

RE: xinclude before xslt, how retrieve the url ?

2001-08-01 Thread JEULIN Olivier
Well, in fact, the best way (it's more clean) is to use xpointer (see the 'xinclude' subdirectory in the samples) and the file xinclude_poem.xml > > Your index could also look like: > > > > > > ... > > > > and you could load what you want using document({@url},title) > > in a template > > mat

Re: xinclude before xslt, how retrieve the url ?

2001-07-31 Thread Ludovic Maitre
Thanks for your answer, the 2d solution is what i want (i don't want to repeat the href attribute twice). -- [EMAIL PROTECTED] INRIA - 2004 route des lucioles - BP 93Tel: (33/0) 4 92 38 50 41 06902 SOPHIA-ANTIPOLIS cedex (France)Fax: (33/0) 4 92 38 76 02 PS : it's 39 celsius here,

RE: xinclude before xslt, how retrieve the url ?

2001-07-31 Thread JEULIN Olivier
what about But if the files are big, wouldn't it be better to use document(page1.xml,title) to get exactly the titles? Your index could also look like: ... and you could load what you want using document({@url},title) in a template matching item Olivier P.S. pas trop chaud à Sophia-An

Re: XInclude-Transformer

2001-06-12 Thread Donald Ball
On Mon, 11 Jun 2001, [iso-8859-1] Jörn Heid wrote: > > Are there any intensions to extend the funcionality of the xinclude > transformer to support parameter processing like this: > > xml > ../menu.xml >

Re: xinclude and cinclude in C2

2001-05-29 Thread Donald Ball
On Tue, 29 May 2001, Maring, Steve wrote: > I keep seeing reference to the aggregate.xsp sample as being a good example > for doing XML inclusion in C2, but it has never worked for me. > > I'm running C2a7 now. Does ANYBODY have a working example of an include? > I'm desperate here. I'm going t