RE: including multiple xml files into transformation

2007-01-08 Thread Ard Schrijvers
> > 2. XSLT's (actually XPath's) document() function > > > > The document() function allows you to access more than one > xml source > > file from within a XSLT. See for example the "styleless stylesheet" > > approach (it was on some blog... I don't have the link > handy right now) > > Hi guys

RE: including multiple xml files into transformation

2007-01-08 Thread Ard Schrijvers
> > Daniel Süpke wrote: > > xml1 is the generator with all the contents for the > overall-structure > > of the page, being transformed by some xsl-file. The contents has > > various block with headings etc. Inside these blocks I want to parse > > external xml-files, which contain the actual data

RE: including multiple xml files into transformation

2007-01-08 Thread Ard Schrijvers
> > Mark Lundquist wrote: > > The use of document() in Cocoon is discouraged, because it doesn't > > play nice with cache validity. If the content supplied by the > > included resource changes, Cocoon has no way of knowing it and will > > serve stale content from the cache. > > What if I only r

Re: including multiple xml files into transformation

2007-01-08 Thread Tobia
Mark Lundquist wrote: > The use of document() in Cocoon is discouraged, because it doesn't > play nice with cache validity. If the content supplied by the > included resource changes, Cocoon has no way of knowing it and will > serve stale content from the cache. What if I only reference static fi

Re: including multiple xml files into transformation

2007-01-07 Thread Mark Lundquist
On Jan 7, 2007, at 6:13 AM, Toby wrote: 2. XSLT's (actually XPath's) document() function The document() function allows you to access more than one xml source file from within a XSLT. See for example the "styleless stylesheet" approach (it was on some blog... I don't have the link handy right

Re: including multiple xml files into transformation

2007-01-07 Thread Daniel Süpke
Hey, thanks for all your help! That's seems to be pretty much what I searched for :). Regards, Daniel Süpke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: including multiple xml files into transformation

2007-01-07 Thread Toby
Daniel Süpke wrote: > xml1 is the generator with all the contents for the overall-structure > of the page, being transformed by some xsl-file. The contents has > various block with headings etc. Inside these blocks I want to parse > external xml-files, which contain the actual data to be represente

RE: including multiple xml files into transformation

2007-01-07 Thread Andrew Stevens
From: Daniel Süpke <[EMAIL PROTECTED]> Date: Sun, 07 Jan 2007 13:27:52 +0100 Hi, I read a couple of websites about Cocoon and took a look inside the samples and Cocoon seems to be really nice, especially since I need to have various output formats later (pdf, html, ...). But right now, I am hav

Re: including multiple xml files into transformation

2007-01-07 Thread Benjamin Boksa
Hi Daniel, Hope I could explain the problem somewhat understandable ;). If I understood your question you might want to take a look at: http://cocoon.apache.org/2.1/userdocs/xinclude-transformer.html http://cocoon.apache.org/2.1/userdocs/cinclude-transformer.html HTH, Benjamin

including multiple xml files into transformation

2007-01-07 Thread Daniel Süpke
Hi, I read a couple of websites about Cocoon and took a look inside the samples and Cocoon seems to be really nice, especially since I need to have various output formats later (pdf, html, ...). But right now, I am having a rather basic question (I guess). I want to include and transform contents