Subject: Re: Generating TOCs or overviews? From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 27 Aug 1999 17:08:59 +0100 (BST) |
> Can > the complete files be concatenated, XML declaration and DOCTYPE > declaration and all? Your original message said > We concat all files, surround them with a start and end tag (to make > it valid XML) which implies that your original files _don't_ have DOCTYPE (as otherwise the simple concatenation you propose isn't valid). If the original files do not have DOCTYPE (so you can make a large XML file including them all) you do not need to actually concatenate them, your `big' document can just include the smaller ones via entity references. (However I have in the past used cat together with a header and footer file to add the enclosing element, as that is simpler (but wasteful of space) than writing the entity references). However since XSL applications supporting the document() function are now available you have a probably better alternative of just traversing the separate documents from your stylesheet by using the document function. This will work even if your source documents are really separet documents with their own XML declaration and DOCTYPE. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Generating TOCs or overviews?, Kai Großjohann | Thread | Re: Generating TOCs or overviews?, Kai Großjohann |
xsl:for-each within an element?, Rich Gazan | Date | Selecting nodes that have an attrib, Garrett Coakley |
Month |