Hi,

Thanks a lot for your help!

Best regards,
Roman

-----Urspr?ngliche Nachricht-----
Von: xmleditor-support-bounces at xmlmind.com [mailto:xmleditor-support-bounces 
at xmlmind.com] Im Auftrag von Hussein Shafie
Gesendet: Mittwoch, 19. M?rz 2008 15:01
An: Huditsch, Roman (LNG-VIE)
Cc: xmleditor-support at xmlmind.com
Betreff: Re: AW: [XXE] copyChar in conjunction with replace

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
 
--
XMLmind XML Editor Support List
xmleditor-support at xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to