Tortue has asked for the wisdom of the Perl Monks concerning the following question:
[_CELL_]This is a sentence on one line.
[_CELL_] Cell 1 [_CELL_] Cell 2 [_CELL_] Cell 3
into:
<CELL>This is a sentence on one line.</CELL>
<CELL>Cell 1</CELL><CELL>Cell 2</CELL><CELL>Cell 3</CELL>
and feeling dumb I can't think of one off the top of my head.
Bonus question: Does anyone recognize that format? All I know is it's probably produced by FrameMaker (buggily) and used by O'Reilly for book publishing. It also includes things like:
[_Body_] ... a paragraph on on line ...
... {_XRef#89948_} ...
... [_Fi_]something in italics[_F_] ... etc. I don't like this format much (at all), so I'm trying to make a tool to convert it into XML and back. And I'd love to hear: "That's FMEZ format! Joe X has a great module for converting it!"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Transforming strange format to XML
by chipmunk (Parson) on Nov 17, 2001 at 23:31 UTC | |
by Tortue (Scribe) on Nov 18, 2001 at 00:04 UTC | |
|
Re: Transforming strange format to XML
by Hero Zzyzzx (Curate) on Nov 17, 2001 at 23:34 UTC | |
|
Re: Transforming strange format to XML
by fuzzysteve (Beadle) on Nov 19, 2001 at 19:00 UTC |