Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Simple way to go from xml to simple text format >Thread Next - Re: Simple way to go from xml to simple text format (fop -txt ?) Re: Simple way to go from xml to simple text formatTo: NULL Date: 1/6/2007 10:29:00 PM * mathieu wrote in comp.text.xml: > I have the following xml file: > ><Elements> > <Element> > <A>1235</A> > <B>Hello</B> > </Element> > ... ></Elements> > >I would like to produce a text file containing each Element per line >(xml element being separated let say by a whitespace). > >$ cat out.txt >12345 Hello >... > > The correct solution would be to use fop and write an xsl document, >right ? Thanks for pointer to 'Hello World' example. XSLT would probably be a simple solution, yes. Note though that Apache FOP is a XSL Formatting Objects Processor, it's useful if you want to make complex graphical layouts, not for plain text. For XSLT tutorials, try a search engine of your choice. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
