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

outputting to original destination from within a resu

Subject: outputting to original destination from within a result-document
From: "Jeff Rosler" <Jeff.Rosler@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 09:18:30 -0600
 outputting to original destination from within a  resu
Hi All,

I am using <xsl:result-document> in my stylesheet (processing with Saxon
8.7). I'd like to output back to my original output document from within
the <xsl:result-document>. Does anyone know of any way to do this? Right
now, I'm assuming I'll just have to do post processing with a second
stylesheet, but I thought I'd post to see if anyone has any good ideas.

My stylesheet is converting a single monolithic XML file to a DITA map
file and also chunking out the content into separate DITA topic files
(using <xsl:result-document>). This is a fine approach, but it doesn't
handle nested sections in my monolithic XML file. When I get to a nested
section (when I'm inside the <xsl:result-document>), I need to create
another topic (new result document), but I also need to add a nested
<topicref> to the DITA map file (original output document). I was trying
to do this in a single XSL (creating the map file and doing the
chunking), but now I think I need to fall back to two separate
stylesheets; one to create the map and one to do the topic chunking.

Can anyone answer my first question or have any other suggestions?

Thanks for any and all responses,

Jeff Rosler

Current Thread

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.