> -----Original Message----- > From: Cameron McCormack [mailto:[EMAIL PROTECTED] > Sent: Sunday, 14 May 2006 6:32 PM > To: user@forrest.apache.org > Subject: Re: Own type of documen transformed to document-v20 > > Gav: > > Ok, will take another look, but initially I assumed you wanted to use > > DTDs as you declared them in your code, this is why it is failing as > > It can not find the specified DTD. > > Right, OK. I just declared them because, from looking at the sample > sitemap.xmap file, I gathered that was the way you had to do it. > > > To my thinking, it was probably easier to create the DTD rather than > > Go around removing all your references to it. > > > > You would need to declare your <status></status> element somewhere, > > Either in a new DTD or add it to v20. > > > > I am not an expert in this, just throwing in what bit I know. Not > > Sure if you can do all you are trying to just with xslt. > > OK, forget I mentioned DTDs. :-) > > There must be some way I can tell Cocoon/Forrest, via the sitemap.xmap > file, that when a file called status.xml is requested, it should be > passed transformed with a particular XSLT file into a document-v20 > document, and from there, converted into either HTML or PDF, as would > normally be done. Cocoon is quite complicated, though, and I haven't > yet got my head around it. (Nor do I quite understand the relationship > between Forrest and Cocoon...)
Take a look at how faq.xml is processed. Gav... > > -- > Cameron McCormack ICQ: 26955922 > cam (at) mcc.id.au MSN: cam (at) mcc.id.au > http://mcc.id.au/ JBR: heycam (at) jabber.org > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.392 / Virus Database: 268.5.6/338 - Release Date: 12/05/2006