>    <?xml version="1.0" encoding="UTF-8"?>
> You could leave that or you have to use <echo> and encode the
> xml-charachter (<>&...).


Now that I look again the declaration is not really necessary :P

I have a little perl script for masking - for my own need:
>
> ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<----
> use Win32::Clipboard;
> $CLIP = Win32::Clipboard();
>
> $clip = $CLIP->Get();
>
> $clip =~ s/</&lt;/g;
> $clip =~ s/>/&gt;/g;
> $clip =~ s/"/&quot;/g;
>
> $CLIP->Set($clip);
>
> ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<----


It rocks!!! :-)

Thanks a million Jan! :-)

Regards,

-vihan

Reply via email to