On Mon, Sep 02, 2002 at 05:11:28PM -0700, Robert Koberg wrote: > Hi, > > For the record, I would say it is very easy in XSL. This was from the original > bug report: > > <map:parameter name="include" value="/manual/s1[@title='{1}']"/> > > To get this with xsl you could simply: > > <xsl:apply-templates > select="document($book_param)/manual/s1[@title=$section_title_param]"/>
Hadn't thought of that. Cunning :) > Now, the problem might be that the book is too large... (probably not for Saxon, > though) The problem is conceptual, that document() breaks SoC, as described at http://localhost:8787/cocoon/documents/faq/faq-xslt.html#faq-6 Hopefully things like XPathTransformer will remove the need for document() altogether. --Jeff > best, > -Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]