Re: Multiple Result Trees
Lionel, True, you can use two stylesheets, and currently I use more than that, but why not use as few as possible, even one. I'd like to create my result in one pass, as opposed to several. It seems to me that it is nicer to do all the processing in one place and possibly share some of the code between the processes. Richard. Richard Lander relander at uwaterloo.ca http://pdbeam.uwaterloo.ca/~rlander/ Professional XML Authoring http://www.on-line-learning.com/ ----- Original Message ----- From: Lionel Villard <Lionel.Villard@xxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxx> Sent: Thursday, July 22, 1999 7:16 AM Subject: Re: Multiple Result Trees > Why not using 2 stylesheets, one for generating HTML doc and another one for XML doc > ?? > > Richard Lander wrote: > > > Mike and James, > > > > I don't think that I've been clear or I simply don't understand the issues at > > work, but your ideas do not seem parallel to my idea. I see chunking as breaking > > down *a* result tree. My stylesheet actually created two virtual result trees - > > two different copies of the same content. Is that not what multiple result trees > > are all about? Multiple result trees are useful to me because I've started > > publishing documents on my website (and other places) in both HTML and XML, but > > from the same source (RTF too but that is with Jade). Am I missing something > > here, or are these ideas really quite different. > > > > Thanks for the help. > > > > Richard. > > > > Richard Lander > > relander at uwaterloo.ca > > http://pdbeam.uwaterloo.ca/~rlander/ > > > > Professional XML Authoring > > http://www.on-line-learning.com/ > > > > ----- Original Message ----- > > From: James Tauber <jtauber@xxxxxxxxxxx> > > To: <xsl-list@xxxxxxxxxxxxxxxx> > > Sent: Wednesday, July 21, 1999 12:53 PM > > Subject: Re: Multiple Result Trees > > > > > > I've been thinking about the possibility of an XSLT transformation to > > > multiple > > > > result trees. I see that it is on the list for future version of XSLT, but > > > was > > > > wondering if a 'kludge' was possible now through the use of modes. > > > > > > For a while, I achieved this on XMLSOFTWARE by producing a single output > > > with <file name="foo.html"> wrapping each page and then running it through a > > > postprocessor. > > > > > > Now I use XT's extension mechanism and have a named template that outputs > > > the contents of one parameter to a file named in another (see XT's demos for > > > an example of this). > > > > > > I should be able to find the time early next week to make the complete > > > stylesheets for XMLSOFTWARE / XMLINFO / SCHEMA.NET available. I may even be > > > able to accompany them with the "stylesheet for stylesheets" I've briefly > > > been working on. Heck, I might even release the first version of the XSL FAQ > > > (although possibly not a new release of FOP)! > > > > > > James :-) > > > > > > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format