View Single Post
  #2 (permalink)  
Old March 12th, 2007, 02:37 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 12,738, Level: 48
Points: 12,738, Level: 48 Points: 12,738, Level: 48 Points: 12,738, Level: 48
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 3,924
Thanks: 0
Thanked 82 Times in 80 Posts
Default

Yes of course it's possible. There wouldn't be much point in XSLT if you had to write a different stylesheet for every source document.

Do you mean that a single execution of the stylesheet processes two input files to create a single output? In that case you can read one of the input files using the document() function or you can supply it as a stylesheet parameter.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference
Reply With Quote