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

multiple source...

Subject: multiple source...
From: "gabor farkas" <xlat@xxxxxxxx>
Date: Mon, 26 Nov 2001 10:53:38 +0100
xsl multiple source files
Hi,

i'm creating some formatting_objects documents... so basically i have an xml
file, which i convert using an xsl file into an another xml and then i
render that xml into pdf...

the problem is that the xml=>pdf renderer only accepts one input xml file...

so i have these options:

1.write the whole document ( 70-100 pages ) in one xml file.....
2.use some xml + xsl magic to assemble one document from many xml files...


i didn't like the 1st option, so i tried the 2nd..

the problem is that i want the parts of the xml document to be complete (
and validatable ) xml files, which could be converted into pdf alone...

like:
the document consisft of chapter1.xml chapter2.xml chapter3.xml ... now i
want to be able to create with xsl a final xml-fo document which can be
converted into pdf...
but.. i also want to be able to convert just chapter1.xml into pdf ( after a
middle step ofcourse )..

so i tried the doctype-entity thing.... it didn't work because i got
"multiple dtd's" errors...

then i tried to use the xsl's document() function .... i used special tags
in the main-document.. like <externalfile src="chapter1.xml"/> ... and in
the xsl i opened the file and parsed it...it seemed to work but it didn't
work on complex things... for example at the end of the document i create a
table of pictures ... so i do something like <xsl:value-of
select="count(//pic)" /> and this of course doesn't work because it won't
parse the external files.....

any ideas how to solve this?


gabor farkas


 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.