[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Number of scans required ??


Subject: Re: [xsl] Number of scans required ??
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2003 16:49:39 -0400

Dipesh,

At 02:40 PM 8/13/2003, you wrote:
If i got it properly, you mean to say that once i have written something in
the output file i can not come to the point to rewrite something again in the
same output file??

Correct. That's not the way XSLT works. In fact, you have very little control -- nor do you need it -- over writing anything. Rather, your task is to "build" something ... a tree of nodes, which when completed can be written out, or processed in some other way.


  So the kind of output I want to obtain is impossible with
xsl ?

This is not so: it is almost certainly possible.


The solution is in a set of templates with instructions that build the output you want, as a tree of nodes (which we can then have written). Without seeing your input and hearing what you want to do with it, no one can say what these templates will look like. But XSLT is an excellent tool for all kinds of rearrangements of data.

Please post again with more details about your actual problem -- only by seeing the problem can we assess what the best solution is. At this point we only know it's not to "rewrite something again in the same output file", since this just isn't the way things are done in XSLT.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list




Current Thread
Keywords