[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|