[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Generating TOCs or overviews?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|