[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: external files

Subject: RE: external files
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 10 Jul 2001 22:59:45 +0100
xsl import external file
> I need to import an external file specified in my XML source
> into the output
> of my XSL transform. Ideally I would like to subject this
> external file to a
> seperate, source-specified XSL transform before piping it
> into the output
> stream. How can I best get this done?

Is the external file XML?

You'll need to do some scripting of some kind, and the details will depend
on your processor. With TrAX (=JAXP 1.1) I might tackle it by loading the
document using the document() function, and writing a URIResolver to do the
separate transform before handing over the result.

Alternatively since you are copying the external file unchanged, you could
include it at the serialization stage: many processors have a SAX interface
between the transformer and the serializer, so you can put a SAX filter in
between to modify the data stream at this stage.

Mike Kay
Software AG


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


Current Thread
  • [no subject]
    • Mike Lamb - Mon, 9 Jul 2001 15:43:47 -0400 (EDT)
      • Chris Bayes - Mon, 9 Jul 2001 16:02:55 -0400 (EDT)
      • Thomas B. Passin - Mon, 9 Jul 2001 16:16:20 -0400 (EDT)
      • Michael Kay - Tue, 10 Jul 2001 18:36:43 -0400 (EDT) <=
        • Tamre2 - Tue, 10 Jul 2001 18:48:44 -0400 (EDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.