non-interactive XML editor

Marc Lijour marc-bbkyySd1vPWsTnJN9+BGXg at public.gmane.org
Thu Apr 6 14:48:25 UTC 2006


On April 4, 2006 09:03 am, Fraser Campbell wrote:
> Marc Lijour wrote:
> > I see one problem in your situation, how is xmldohicky  going to guess
> > the format of the text files? If the format was fixed, for example XML
> > (to take the problem the other way around) it would be extremely easy to
> > generate whatever output format you wish by using XSL Transformation
> > (xsltproc is your tool, it comes in libxslt-xsltproc).
>
> I know what each element is.  For example I have a files called packages
> which lists things like apache, postfix - one per line.  When I
> encounter a package file I know each line should be stuffed into a
> install.software.package (node/element/whatever).

What not writing a perl script (or other) to output xml for you?
Before you have xml you can't use xml tools.

> I'll take a look at xsltproc, perhaps that will do what I want.
>
> Thansk
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list