<?xml version='1.0' encoding='ISO-8859-1'?>
<configuration 
  xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
  xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">

<!-- =================================================================== -->
<!-- Works in a DocBook 4 document. -->

<binding>
  <keyPressed code="F3" />
  <command name="paraToFormalpara" />
</binding>

<command name="paraToFormalpara">
  <macro>
    <sequence>
      <command name="selectNode" 
               parameter="ancestorOrSelf[implicitElement] para" />
      <command name="toFormalpara" />
      <command name="paste" parameter="to %_" />
    </sequence>
  </macro>
</command>

<command name="toFormalpara">
  <process showProgress="false">
    <copyDocument selection="true" to="in.xml" />
    <transform stylesheet="toFormalpara.xsl" cacheStylesheet="true"
               file="in.xml" to="out.xml" />
    <read file="out.xml" encoding="UTF-8" />
  </process>
</command>

</configuration>
