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

Re: Scalability problem

Subject: Re: Scalability problem
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Oct 1999 12:43:52 +0100 (BST)
Re: Scalability problem
> For the benefit of the editor,
Why be kind to editors? but anyway...

> in doc.xml, it fails because of the contained
> doctype declaration in the files sectn.xml

One possibility is to make the source files of each section _not_
have a doctpe then have each sect1.xml just consist of the DOCTYPE
and an entity reference to the file containing the body of the section.
The doc.xml similarly can refer to the three files with the section
bodies, not the sectn.xml files.


> Fine.... except I want to use <xsl:number
> to have consistant numbering across the suite
> of documents (Implies I need all 3 sections
> visible / part of the same source tree????)

If making the entire document visible to the XSL processor just to
get the numbers right is too large a price to pay you could make the
starting section number (and any other context information)
a parameter of the stylesheet so you could go

xt style.xsl section3.xml section="3"

or even just 

xt style.xsl  section="3"

and let the stylesheet work out that it needs to include section3.xml
via document() , except that currently at least I think you have to give
xt some top level file to get started on.

David


 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.