From: Mikhail G. <mgr...@co...> - 2003-08-28 15:41:14
|
Thanks for your support. There are several areas where xmlstarlet needs to be improved. And one of them is support for XPATH expressions as r-value in 'edit' options, so that @id = @id + 1 can be done, as well as others. Honestly I haven't give it much thought yet. So your suggestions are welcome. Can you give me some examples of how you think that could be achieved? I think it needs to be done not only for '-u' but for others as well. You can send patches too :). --Mikhail ----- Original Message ----- From: "Daniel Shane" <sh...@ir...> To: <xml...@li...> Sent: Thursday, August 28, 2003 9:44 AM Subject: [Xmlstar-devel] Great! > Hi, > > I would like to congratulate you on XMLStarlet! I think this tool is great > and very flexible! I plan on developping some simple things to it that will > greatly improve its usefullness. > > The one thing I would like to add is a way to replace something by doing an > operation on if. For example, replacing the ID attribute with ID + 1. Or > replacing a TEXT node with TEXT passed through a regexp... > > I know that there is a -x option in developpement. Do you think it could > accomplish this kind of behavior? Would it be flexible enough? > > I was rather thinking that with the xml ed -u could have several -x and in > the end a final -v with the result we want to substitute. What do you think? > > Daniel Shane > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > xmlstar-devel mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlstar-devel --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 |