Yeah, that's kind of where I was going - it's not terribly difficult to write XSLT, but just now I ran my little tool (which I called "xed" like this):
$ xed -c -m "//[EMAIL PROTECTED]'enabled']/@value" -a "false" system.xml
Which went through, found all the nodes (there were quite a few) matching the pattern <entry key="enabled" value="true" /> and changed them to <entry key="enabled" value="false" />.
Is this worthwhile? It doesn't appear that there's another Apache project to duplicate this (based on the responses I've gotten so far).
-------------- Original message --------------
>
>
>
>
> "Outputting the bulk of a document unchanged" is pretty easy in XSLT --
> just let the "identity transform" rules run, writing templates to define
> special processing of those nodes you want to alter.
>
> But I agree it's wordier than sed, and requires editing a stylesheet, so a
> front-end to quickly create and execute these identity-plus-small-change
> requests interactively from the command line might be a useful tool. (Of
> course that need not be Xalan-specific.)
>
> ______________________________________
> Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
> "The world changed profoundly and unpredictably the day Tim Berners Lee
> got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
