xml -> text

Michael Rensing mrensing at users.sourceforge.net
Sun Aug 17 20:29:16 CDT 2003


On Sat, 2003-08-16 at 11:30, Chris Lyttle wrote:
> On Sat, 2003-08-16 at 03:52, Jon Lapham wrote:
> > Anyone know how to make regular old text files (ie: no markup) from 
> > docbook xml?
> > 
> > I can do this with a short perl script, no problem.  But, I figured that 
> > there may exist a better way for doing this...
> 
> Well if you were writing a stylesheet for xsltproc it would need to have
> <xsl:output method="text"/>. Other than that, emacs, use OpenOffice, or
> some other text editor to help you strip the tags.

I dunno if this will help, but I'm using Xemacs to edit with, and I can
go to View->Hide Tags, and it then shows me only the text and comments.
It does not remove the tags, however.
-- 
Michael Rensing




More information about the gnucash-devel mailing list