[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Creating Multiple Files from One Input File (fwd)
Betty,
Yes, it would make sense to import the stylesheet you already have into another that would do the file splitting. This requirement is high enough on the list for XSLT 2.0, that the (now-shelved) XSLT 1.1 working draft specifies a syntax for it. Saxon implements this syntax. A pure XSLT 1.0 alternative (I think someone mentioned) is to alter the stylesheet to just pick out a chunk and do that alone; then run the stylesheet multiple times. This could be parameterized from the command line or in a batch process. In this case also, the "chunking" stylesheet can import the one you have to do the whole thing, thus saving lots of work. Michael mentions several processors with extensions: of course they're non-standard (including, strictly speaking, Saxon's in the XSLT 1.1 namespace). MSXML doesn't implement one (to my knowledge). Betty, an implementation of this approach (relying on Saxon) appears in the Mulberry slideshow distribution: check out http://www.mulberrytech.com/slideshow. Cheers, Wendell At 11:53 AM 10/5/01, Michael wrote: Hi, Betty: ====================================================================== 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
|
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
|