Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
| Search | Today's Posts | Mark Forums Read
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 9th, 2007, 02:10 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default jaxp and xslt2 multiple output

Hello,

I transform an xml document into 3 different documents ( 1 is xml, 2 are text )

I am using JAXP and I do not know how to get hold of the 3 results and how to know which one is which.

can someone help me ?

Thank you very much,
Aowss.
  #2 (permalink)  
Old October 9th, 2007, 06:24 AM
mhkay's Avatar
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

JAXP doesn't yet have any support for XSLT 2.0. Presumably you're using Saxon via JAXP interfaces. If you want to do anything with the multiple result documents other than write them to filestore, you will need to write an OutputURIResolver which is notified of each document as it is written. This is very similar conceptually to the JAXP URIResolver for input documents, but of course you will need to use SAXON-specific methods to set it up.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
  #3 (permalink)  
Old October 10th, 2007, 01:21 AM
Registered User
 
Join Date: Jan 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much for your, as usual, prompt and clear answer.



Similar Threads
Thread Thread Starter Forum Replies Last Post
xslt2.0 Parser choices amhicraig XSLT 3 December 8th, 2007 10:29 PM
Output to multiple files lsantos2000 XSLT 4 October 24th, 2007 02:36 PM
Help with JAXP (NoClassDefFoundError) Satyajit Sahu XSLT 1 July 13th, 2007 03:53 AM
Save (output to) multiple files from single click moo_desanta Classic ASP Basics 2 June 23rd, 2006 02:00 AM
JAXP without source document Hendrik XSLT 1 September 28th, 2004 03:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.