View Single Post
  #2 (permalink)  
Old March 7th, 2006, 09:02 AM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

You can add the processing instruction to the result tree using the xsl:processing-instruction element.

I can't quite see where xsl:include and xsl:import come into the picture.

I wouldn't normally do this with the xml-stylesheet PI. You need some kind of application to tie together the multiple transformations, perhaps in Java or in some pipeline language such as Orbeon presentation server, or in Ant or Cocoon, etc; and it's the job of this application to control the pipeline of transformations.

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