|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: gain data from multiple xml files?
[Josef El-Rayes] > i have a file "navigation.xml" from which i create the navigation bar > and i have multiple .xml files for example "september.xml" and > "august.xml" from which i generate by using blog.xml a blog. > > i want both the navigation and the blog combined on a website > but when i > call xsltproc with: > > xsltproc -o index.html index.xsl navigation.xml blog.xml it only > processes the blog part. > > when i change order or leave one of the .xml away, it renders only the > one xml i used on the commandline. > when i leave both out i do not get any .html. > > what may i have done wrong? > The command line normally instructs the processor to apply the stylesheet to one xml file. That is the result you got. The usual way to combine parts of more than one xml file is to use the document() function to bring in the other xml file(s). Sometimes the main xml file becomes no more than a list of the actual xml files to be processed, and the stylesheet gets them one after the other with document(). Cheers, Tom P 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
|

Cart








