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

RE: Preserving links in output files

Subject: RE: Preserving links in output files
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 20 Dec 1999 13:15:29 -0000
linked list to output file
There are a couple of sample stylesheets in the SAXON distribution
(http://users.iclway.co.uk/mhkay/saxon) that do this sort of linking, using
of course the saxon:output mechanism rather than xt:document.

But the links in the generated HTML link only at the document level. If you
want to create links at a finer granularity, use the generate-id() function
to obtain an identifier for the source node, which you can use to generate
both an <a href="abc.html#id"> in the referencing document, and an
<a name="id"> in the referenced document.

Mike Kay

> -----Original Message-----
> From: Beckers, Marc [mailto:Marc.Beckers@xxxxxxxxxxxxxx]
> Sent: 20 December 1999 11:38
> To: 'XSL-List@xxxxxxxxxxxxxxxx'
> Subject: Preserving links in output files
> 
> 
> Hello,
> I have just accomplished "first steps" in XSL
> and have the following question:
> I would like to produce multiple HTML files
> from a single XML instance (e.g., the XML instance
> is a "book", each "chapter" of which needs to
> become a separate HTML page).
> James Clark's xt:document extension to XT seems
> to give me the chopping mechanism, but how to
> preserve the ID/IDREF links across the resulting
> HTML pages?
> 
> My thinking is: if I use an attribute
> on "chapter" to form the HTML page name,
> how can I put the resulting page name in front
> of IDREF values (in other "chapter"s) that point 
> to IDs within that chapter?
> Can anyone put me on the right track (if there is one)?
> 
> Thanks and regards,
> Dr. Marc Beckers
> Documentation Consultant
> Software AG
> Uhlandstraße 12
> D-64297 Darmstadt
> Phone +49-6151-92-1322
> Fax              -1612
> E-Mail Marc.Beckers@xxxxxxxxxxxxxx
> Internet www.softwareag.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.