Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
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
 
Old August 10th, 2006, 11:15 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default Two HTML files Question

Hi All,

I can generate a TOC and place it anywhere in the HTML file. Is is possible to generate the TOC and place it in another HTML file?

I would like to have the xslt generate "left.HTML" and "main.HTML".

I will eventually have the TOC in left.html and the rest of the document in the main.html.

Thanks,



 
Old August 10th, 2006, 12:41 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

XSLT 2.0 allows you to generate multiple result files using xsl:result-document. Some XSLT 1.0 processors have an extension that does the same thing. Otherwise you have to run one transformation (using different stylesheets, or the same stylesheet with a parameter) for each output file.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
 
Old August 10th, 2006, 02:04 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Thanks. I'll give it a try.

Bones







Similar Threads
Thread Thread Starter Forum Replies Last Post
jsp files and html files jamara ASP.NET 2.0 Basics 1 November 20th, 2006 07:03 AM
Generating multiple HTML files dunpeal ASP.NET 1.0 and 1.1 Professional 6 August 24th, 2006 07:16 AM
.php files vs .html files pbuongiovanni PHP How-To 2 January 5th, 2006 04:15 AM
Can you preload child html files to 1parent html? bekim Javascript How-To 4 January 22nd, 2005 04:17 PM
using xmlhttp to get html source files, but.. noonkhamei XML 0 April 14th, 2004 12:32 AM





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