Download here

NAME

rtf2xml -- dump an RTF document's structure as XML


SYNOPSIS

  % cat foo.rtf
  {\stylesheet{\fs20 \snext0 Normal;}}
  % rtf2xml < foo.rtf 
  <_><stylesheet/><_><fs _='20'/><snext _='0'/>Normal;</_></_>


DESCRIPTION

This program is a filter that takes an RTF stream on STDIN and emits its document tree structure as XML on STDOUT. It assumes that the input is well-formed RTF.


COPYRIGHT

Copyright (c) 2000 Sean M. Burke. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

Sean M. Burke sburke@cpan.org