From: "Julian Scheid" <[EMAIL PROTECTED]> > Hi, > > I'm using XSLT for generating Javadoc-like documentation as > part of the GNU Classpath effort. The tools I am working on > currently only support xsltproc, but I'd like to add dom4j > to the list. In this context I got one question: > > Is there a way to make the dom4j XSLT transformer recognize > <xsl:document> and redirect output accordingly? I know this > is not part of the 1.0 standard, but I wonder whether I can > "fake" this behaviour.
Most XSLT engines should suuport this, such as Xalan or Saxon. > Can I perhaps use the classes in the .rules package to > accomplish this - i.e. does the dom4j architecture allow for > redirecting output during XSLT processing? If yes, could you > please point me to a code sample (or some documentation) > which shows how to derive and extend the standard XSLT > ruleset. You can use the rules package to perform XSLT-like processing but in this instance, you seem to want XSLT with <xsl:document> working so I think you should try Xalan/Saxon. dom4j uses JAXP to find the XSLT engine, so just put Saxon / Xalan on your classpath and you should be OK. James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
