TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
If it were me, I would just use plain old grep (standard on unix).
Just because the files are XML doesn't mean you have to use XSLT.
It's just text.
Laura
On Sep 22, 2008, at 4:27 AM, Ed wrote:
> Thanks for your comments, Paul. Let's say I am cut off from the XML
> backend at work, and simply have a collection of text files that
> happen to be XML. So, my first inclination was to find a solution for
> any group of text files.
>
> I'll look into the XSLT solution, and see if I have access to it on
> the job through our application. In addition, I'll see if xsltproc is
> on my solaris or ubuntu boxes at home.
>
> In the meantime, I appreciate any/all comments.
>
> Ed
>
> On Mon, Sep 22, 2008 at 6:38 AM, Inbar, Paul <paul -dot- inbar -at- intel -dot- com>
> wrote:
>> Hi Ed,
>>
>> I am not sure I fully understand what you want to do. If you want to
>> just print out the text between tags, have you considered using
>> XSLT? Do
>> you know what tags you are interested in? You would then need an xslt
>> processor such as xsltproc. Does you linux system have one installed?
>>
>> There are also Perl modules that help with retrieving information
>> from
>> xml files.
>>
>> For the recursion, you could use a Perl script to get a list of
>> all the
>> files, and then call the xslt processor from inside the perl
>> script to
>> process each file.
>>
>> Paul
>
> --
> Ed
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> ComponentOne Doc-To-Help gives you everything you need to author and
> publish quality Help, Web, and print content. Perfect for technical
> authors, developers, and policy writers. Download a FREE trial.
>http://www.componentone.com/DocToHelp/
>
> True single source, conditional content, PDF export, modular help.
> Help & Manual is the most powerful authoring tool for technical
> documentation. Boost your productivity! http://www.helpandmanual.com
>
> ---
> You are currently subscribed to TECHWR-L as lemay -at- lauralemay -dot- com -dot-
>
> To unsubscribe send a blank email to
> techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
> or visit http://lists.techwr-l.com/mailman/options/techwr-l/lemay%
> 40lauralemay.com
>
>
> To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com
>
> Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
>http://www.techwr-l.com/ for more resources and info.
>
ComponentOne Doc-To-Help gives you everything you need to author and
publish quality Help, Web, and print content. Perfect for technical
authors, developers, and policy writers. Download a FREE trial. http://www.componentone.com/DocToHelp/
True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-