XML template behaviour [message #201779] |
Thu, 11 October 2007 03:57  |
|
Hello,
If I define a template in XML Files then the behaviour is that the shortcut
will not be replaced but the template is added:
Example:
I would like to define the following template:
<para>
<programlisting>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
parse="text" href="../examples/${cursor}" />
</programlisting>
</para>
I can not define for example: <pl> as a template as then the result of this
template would be:
<pl> <para>
<programlisting>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
parse="text" href="../examples/${cursor}" />
</programlisting>
</para>
Java templates replace the orginal string. Is there a way to do this also in
XML Files templates or shall I post a feature request for this?
Best regards, Lars
|
|
|
|
Powered by
FUDForum. Page generated in 0.01951 seconds