Huditsch, Roman (LNG-VIE) wrote:
> 
> Just for clarification. What I am looking for is similar to 
> <command name="copyChars" parameter="[separateNodes]"/>
> But instead of including a linefeed, I would need a simple space.
> 

What about:

<command name="Test">
    <macro>
      <sequence>
        <command name="copyChars" parameter="[separateNodes]" />
        <set variable="clipboard"
             expression="replace($clipboard, '&#xA;', ' ')" />
      </sequence>
    </macro>
</command>

(I've tested the above command.)

See $clipboard in 
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/xpath_vars.html

Reply via email to