RE: Aborting XSL processing during a run....
> I think the OP wants to output a line of PHP and then stop the > processing - xsl:message terminate="yes" operates at the > transformation > time, not at the serialisation time, so there would be no output. Actually xsl:message terminate="yes", like everything else in XSLT, can be executed at any time the processor chooses. If this instruction is executed at all, then it's completely undefined what output is produced by the transformation. For example if you use xsl:result-document to create a new output document for every input record, and you have 1000 input records, and you use xsl:message terminate="yes" to abort processing while handling the 50th input record, then it would be entirely legitimate to find that you've got 949 output files, one for each record *after* the 50th, because the processor decided it would be fun to start at the end and work backwards. Michael Kay http://www.saxonica.com/
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