[xsl] best practices, insert PI with XSLT or otherwise?

Subject: [xsl] best practices, insert PI with XSLT or otherwise?
From: Hoskins & Gretton <hoskgret@xxxxxxxxxxxxxxxx>
Date: Tue, 02 Feb 2010 23:14:15 -0500
HI, I have a set of XML files in which I want to insert a processing instruction after the XML declaration. I could use a text function type of "search and replace" or XSLT identity template + override. I work with a Java programmer, so everything can be solved best with Java from her point of view, and I work with XSLT, so you know my preference. Is there ever a reason that a non-XSLT process would be better than XSLT?

Regards, Dorothy

Current Thread