Loading ...
Sorry, an error occurred while loading the content.

RE: [XSL-FO] Outputting to ASCII text

Expand Messages
  • Adams, Kevin
    Thanks, Bob. That just might work a little easier. Kevin _____ From: Bob Stayton [mailto:bobs@sagehill.net] Sent: Friday, September 10, 2004 9:57 AM To:
    Message 1 of 8 , Sep 10, 2004
    • 0 Attachment
      Thanks, Bob. That just might work a little easier.

      Kevin

      _____

      From: Bob Stayton [mailto:bobs@...]
      Sent: Friday, September 10, 2004 9:57 AM
      To: XSL-FO@yahoogroups.com
      Subject: Re: [XSL-FO] Outputting to ASCII text


      It is not a manual process of opening a browser. With the -dump option, the
      browser does not open. You can use a command like this in a script or
      Makefile to automate conversion:

      lynx -dump filename.html > filename.txt

      lynx does a pretty good job, but there are also other ascii browsers as
      well. I know that w3m has a dump option too.

      Bob Stayton
      Sagehill Enterprises
      DocBook Consulting
      bobs@...


      ----- Original Message -----
      From: "Adams, Kevin" <kevin.adams@...>
      To: <XSL-FO@yahoogroups.com>
      Sent: Friday, September 10, 2004 6:39 AM
      Subject: RE: [XSL-FO] Outputting to ASCII text


      > Bob,
      >
      > Thanks for the response, but it sounds like this is a manual process. Does
      > it involve me opening the html in the browser? If not, that be run in some
      > sort of script?
      >
      > Kevin
      >
      > _____
      >
      > From: Bob Stayton [mailto:bobs@...]
      > Sent: Thursday, September 09, 2004 5:48 PM
      > To: XSL-FO@yahoogroups.com
      > Subject: Re: [XSL-FO] Outputting to ASCII text
      >
      >
      > Some people convert XML to HTML, and then use lynx -dump to capture
      > formatted text. lynx is a character-based web browser, and the -dump
      option
      > lets you save to a file.
      >
      > Bob Stayton
      > Sagehill Enterprises
      > DocBook Consulting
      > bobs@...
      >
      >
      > ----- Original Message -----
      > From: "Adams, Kevin" <kevin.adams@...>
      > To: <XSL-FO@yahoogroups.com>
      > Sent: Thursday, September 09, 2004 10:50 AM
      > Subject: [XSL-FO] Outputting to ASCII text
      >
      >
      > > I apologize in advance for the newbie question...
      > >
      > > I'm working on a project to convert XML to regular ASCII text. I'm using
      > FOP
      > > 0.20.5, but I seem to be having trouble with line spacing and character
      > > spacing.
      > >
      > > I've done some research on the web to try to find some documentation on
      > > converting to text, but I can't seem to find anything good. Most of it
      > deals
      > > with conversion to PDF.
      > >
      > > Can anyone point me to some detailed examples or some tutorials on
      > > converting to text?
      > >
      > > Unfortunately, it has to be in ASCII text. The position on the page is
      > > significant to my application.
      > >
      > > Thanks in advance,
      > >
      > > Kevin Adams
      > >
      > >
      > > [Non-text portions of this message have been removed]
      > >
      > >
      > >
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
      >
      >
      >
      > Yahoo! Groups Sponsor
      >
      > ADVERTISEMENT
      >
      >
      <http://us.ard.yahoo.com/SIG=1294hrb5i/M=295196.4901138.6071305.3001176/D=gr
      <http://us.ard.yahoo.com/SIG=1294hrb5i/M=295196.4901138.6071305.3001176/D=gr
      >
      >
      oups/S=1705016061:HM/EXP=1094856503/A=2128215/R=0/SIG=10se96mf6/*http://comp
      <http://comp>
      > anion.yahoo.com> click here
      >
      >
      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
      >
      > :HM/A=2128215/rand=165684725>
      >
      > _____
      >
      > Yahoo! Groups Links
      >
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/XSL-FO/
      <http://groups.yahoo.com/group/XSL-FO/>
      > <http://groups.yahoo.com/group/XSL-FO/
      <http://groups.yahoo.com/group/XSL-FO/> >
      >
      >
      > * To unsubscribe from this group, send an email to:
      > XSL-FO-unsubscribe@yahoogroups.com
      > <mailto:XSL-FO-unsubscribe@yahoogroups.com?subject=Unsubscribe>
      >
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
      > <http://docs.yahoo.com/info/terms/ <http://docs.yahoo.com/info/terms/> > .
      >
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >




      Yahoo! Groups Sponsor

      ADVERTISEMENT

      <http://us.ard.yahoo.com/SIG=12949b71n/M=295196.4901138.6071305.3001176/D=gr
      oups/S=1705016061:HM/EXP=1094914617/A=2128215/R=0/SIG=10se96mf6/*http://comp
      anion.yahoo.com> click here

      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
      :HM/A=2128215/rand=170503525>

      _____

      Yahoo! Groups Links


      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/XSL-FO/
      <http://groups.yahoo.com/group/XSL-FO/>


      * To unsubscribe from this group, send an email to:
      XSL-FO-unsubscribe@yahoogroups.com
      <mailto:XSL-FO-unsubscribe@yahoogroups.com?subject=Unsubscribe>


      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
      <http://docs.yahoo.com/info/terms/> .




      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.