Hello devs,

Maybe there's a simple answer t o this.  I'm trying to develope a custom 
publication task, and need to handle different doctypes differently. We're 
parsing through all the documents in a given pub, and need to get the 
doctype of each documents.

Is there some way, or is there an example in some class (we've been 
hunting for days) of accomplishing this, or could you point us in the 
right direction.

Right now it seems like we need an object model to hand to PageEnvelope in 
order to get at the doctype, but we can't seem to figure out how to 
instantiate a cocoon object model on the fly.

Any help or hints would be appreciated: like is this done in some lenya 
code somewhere that I could follow as an example?

Thanks,

-doug

Reply via email to