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

Re: linking to and displaying xsl templates

Subject: Re: linking to and displaying xsl templates
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 14 Nov 2002 18:19:07 GMT
Re:  linking to and displaying xsl templates
  I don't want to point to generated html docs.  Rather, I would like to
  generate a XSL transformed html "document" with hyperlinks to fragments
  (2nd level nodes) of the xml source document.


well yes that I can understand but that isn't linking to templates in
the xsl stylesheet, which is what you asked for first, that;s linking
back to the XML source.

but again your further description essentially means you want to link to
generated html rather than the xml source...

  I want to make this document less cumbersome to read by
  rendering it in html.  It's a long document, so rather than rendering it
  in one long html file, I want to break it up into sections, or several
  html pages.


So you need html anchors in the generated HTMl for each section, and 
generate a table of contents (in html) that links to these html pages,
don't you?


  Can I do this using xsl?

In standard XSLT 1 you can only generate one output doc, so you would
need several passes with XSLT, one for each section, and one to generate
the toc. However most XSLT systems (not msxml, or mozilla's
transformiix) offer an extension element that allows multiple output.

saxon:output, xt:document, xalan:redirect etc.

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.