Formatting XML and other computer code

Carol Wade carol_r_wade at hotmail.com
Thu Nov 15 06:44:30 PST 2007


Thanks, all who responded. Over time, I'll try all the approaches & will report back.
 
Art: What is the advantage of putting the text in a table, with each line a separate row? (which I assume can be done automatically based on carriage returns)
 
Paul: I'm downloading UltraEdit now - looks like a good tool!
 
- Carol> Date: Thu, 15 Nov 2007 07:33:09 -0500> From: art.campbell at gmail.com> To: carol_r_wade at hotmail.com> Subject: Re: Formatting XML and other computer code> CC: framers at frameusers.com> > I copy it from the screen into FM as raw text with Paste Special >> Text with a para at the end of each line. If it has too many tabs, you> can do a find-and-replace to clean them out or convert to multiple> spaces.> Then convert it to a single column table, one line per cell.> The para tag for each cell is a 6 or 7 point monospace font, such as Courier.> > Art> > On Nov 14, 2007 4:24 PM, Carol Wade <carol_r_wade at hotmail.com> wrote:> >> > I'm wondering how other FrameMaker users handle formatting XML and other computer code samples in text. I have tried a couple of approaches and am not satisfied with either.> >> > One approach I've taken is to create a paragraph tag that contains regularly spaced tabs. This requires that I reformat the code when imported into Frame, which can be labor-intensive.> >> > The other approach I've taken is to take screen shots of the code. Yuck! (for obvious reasons).> >> > I hope I'm missing something here.> >> > Thanks for your advice!> >> > - Carol> > -- > Art Campbell art.campbell at gmail.com> "... In my opinion, there's nothing in this world beats a '52 Vincent> and a redheaded girl." -- Richard Thompson> No disclaimers apply.> DoD 358
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


More information about the framers mailing list