19 Dec 2007 01:01
Namespace qualifier in insert block appears to break insert
Problems with insert.
I'm trying this ant task:
<target name="coachDesignerXSL">
<echo>Modifying Coach Designer XSL</echo>
<xmltask
source="${deploy.target.base}/process-server/applications/teamworks.ear/teamworks.war/coachdesigner/transform/CoachDesigner.xsl"
dest="${deploy.target.base}/process-server/applications/teamworks.ear/teamworks.war/coachdesigner/transform/CoachDesigner.xsl"
preservetype="true"
>
<insert path="/xsl:stylesheet/xsl:template[ <at> name='head']/xsl:element[ <at> name='HEAD']/xsl:call-template[ <at> name='coachDesignerJavascript']"
position="after">
<![CDATA[
<xsl:call/>
]]>
</insert>
</xmltask>
</target>
This fails with:
D:\tree\trunk\deployment\misc\modifyXML-build.xml:211: Failed to add
text to insert/paste
This works:
<target name="coachDesignerXSL">
<echo>Modifying Coach Designer XSL</echo>
<xmltask
(Continue reading)
RSS Feed