Re: [C2] How to make stylesheet selection truly dynamic?

2001-08-01 Thread Stefan Koehler
> When the page is requested, I want Cocoon to chech the database to find > out > which stylesheet to process the XML data with, and the transform it. > > Any ideas to how I can manage this? (Cocoon 2b2) Hello Rune, you could write an action which queries the DB for the right stylesheet to use

Re: Style-free XSLT Style Sheets samples code

2001-06-14 Thread Stefan Koehler
> thanks again, now I was able to install it. > Nevertheless the problem is still with me: > Example 1 : Works :) (hence, sitemap is working) > Example 2 : Nothing appears :( > Example 3 : Nothing appears :( > > Is there anyone out there having the same problem ? I remember I ha

Re: Style-free XSLT Style Sheets samples code

2001-06-14 Thread Stefan Koehler
Hi Luca, > no way, the mail archive store the attachement, apparently, as a link to > the message itself. just save the link ["stylefree.tgz" (application/x-gzip)] on the page to disk and extract the file with winzip. I have tested this on Win2000, too. It works. > BTW, yes, I have

Re: Style-free XSLT Style Sheets samples code

2001-06-14 Thread Stefan Koehler
Luca, > first, let me thank you for taking the time to help me; no problem :-) > second, I've already set up a sub-sitemap like yours (which works just fine > for other pages). > BTW, your attachement didn't get to me... could you please re-send it > using a ZIP file ? > Hmm, my ma

Re: Style-free XSLT Style Sheets samples code

2001-06-14 Thread Stefan Koehler
Luca Morandini wrote: > Has anyone tried to make the sample code included in this article: > Style-free XSLT, XML.COM, Eric Van der Vlist, ( > http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html ) > working under cocoon 2 ? Yes, I have a working stylefree example with cocoon2b1. Put someth

Re: Document() function

2001-05-31 Thread Stefan Koehler
Hi Christopher, > Would some working sample code help? You can start with a working sample > and make small changes until you have what you need. Here's some stuff I > made from my own working code. It doesn't do much, but it works (at least > in 1.8.2). thank you very much for the example. No

Re: Document() function

2001-05-30 Thread Stefan Koehler
I have just checked out cocoon2 today and suffer the same problem. document() returns nothing. > Also, be sure there are no errors in your Users.xml file. I have found out > the hard way that Cocoon silently returns nothing from document() if the > XML file has any errors (e.g., is not well form