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

Re: Generating TOCs or overviews?

Subject: Re: Generating TOCs or overviews?
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 27 Aug 1999 16:50:07 +0100
mailing list archives project01

Kai Großjohann wrote:
> 
> We have a bunch of XML files, each describing a project.  The files
> are converted to HTML with XT and then shown to the user.  We would
> now like to automatically generate an overview of all projects,
> including links to the project.  (The overview would contain the
> project title and a short description, say, plus a link to the
> complete file.)
> 
> How does one conventionally go about this?
> 
> We concat all files, surround them with a start and end tag (to make
> it valid XML), and then we could use an XSL script to only emit the
> interesting parts.
> 
> But somehow, this doesn't seem to be the right way.  But maybe it is
> the right way?  How should this be done?
> 

You could make this slightly simpler by using XML system entities in
your XML overview, eg:

	<?xml version="1.0"?>

	<!DOCTYPE myOverview [
		<!ENTITY project01 SYSTEM "project01.xml">
		<!-- and the rest of the projects ... -->
  	]>

	<myOverview>

		&project01;
		<!-- and the rest ... -->

	</myOverview>

Francis.


 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.