XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Reading Multiple Input Documents
Subject: Multiple transformations on XML
Date: 2006-03-27 08:08:20
From: Jay_rulez

Hi,
I am trying to transform an XML Document object in Java. However, it requires 2 transforms as each of them is complicated and needs to be generic enough for use by different XML strings. So I have an XML string and two XSLT files.


Currently, I am using the Java transformer to perform both the transforms one after another. However, I was wondering if there is a function within XSLT that would allow performing the second transform on the result of the first transform without having to resort to multiple calls from within Java.


Thanks a lot.



Jay Badiyani


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • Multiple transformations on XML
    2006-03-27 08:24:44 Bob DuCharme [Reply]

    The XSLT and XPath specs at w3.org/TR have complete lists of available function calls. I/O specific calls like this are not provided, so you'll have to look into the extension functions of the XSLT implementation that you're using. Several provide what you describe.


    Bob

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938