You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(1) |
Jul
(2) |
Aug
(13) |
Sep
(1) |
Oct
(6) |
Nov
(4) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(8) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2005 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(9) |
Dec
(4) |
2006 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(6) |
Nov
(4) |
Dec
(9) |
2007 |
Jan
(3) |
Feb
(8) |
Mar
(7) |
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(26) |
Dec
|
2011 |
Jan
(11) |
Feb
(1) |
Mar
(2) |
Apr
(10) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(2) |
Oct
(4) |
Nov
|
Dec
|
2012 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
2013 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <mgr...@co...> - 2003-08-28 19:05:22
|
Here is what was my original thinking on using XPATH expressions in r-values for edit. Right now to update attribute value you would do something like xml ed -u //@id -v 2 //@id - points to a node being updated 2 - specifies value (constant) Here is how I would envision incremental update xml ed -u //@id -x "@id+1" //@id - points to a node/nodes being updated and gives a context for xpath expressions @id+1 - specifies xpath expression within the context defined in -u option. This expression evaluates and its value is assigned to a node selected in -u. Something like that... --Mikhail > I did not put much thought yet but here is an idea... > > With the xml ed, we are actually replacing something with something else. So > the basic idea is xml ed -u "..." -x "..." where -u is the r-left and -x is > the r-right values. > > However, it is often difficult to construct an XPath for the r-value in one > statement. I was rather thinking something in the line of : > > xml ed -u "..." -r ...multiple statements... > > In multiple statements we must be able to match (-m), copy (-c), add a tag > (-e), get a value (-v), evaluate an XPath (-x), delete a tag (-d) and maybe > more. Each of these actions are "piped" together as usual, and the result of > the last command will be pasted in the l-value. I dont know what can happen > if you try to replace an attribute with an XML node instead of a value? > > Therefore we could do something like: > > xml ed -u "..." -r -m "/Record/Number" -v "node()" -x "some XPath that adds > 1 to the -v" ... > > This example is obvisouly overkill for what it does. > > Daniel Shane > > |
From: Daniel S. <sh...@ir...> - 2003-08-28 17:13:04
|
I did not put much thought yet but here is an idea... With the xml ed, we are actually replacing something with something else. So the basic idea is xml ed -u "..." -x "..." where -u is the r-left and -x is the r-right values. However, it is often difficult to construct an XPath for the r-value in one statement. I was rather thinking something in the line of : xml ed -u "..." -r ...multiple statements... In multiple statements we must be able to match (-m), copy (-c), add a tag (-e), get a value (-v), evaluate an XPath (-x), delete a tag (-d) and maybe more. Each of these actions are "piped" together as usual, and the result of the last command will be pasted in the l-value. I dont know what can happen if you try to replace an attribute with an XML node instead of a value? Therefore we could do something like: xml ed -u "..." -r -m "/Record/Number" -v "node()" -x "some XPath that adds 1 to the -v" ... This example is obvisouly overkill for what it does. Daniel Shane |
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 |
From: Daniel S. <sh...@ir...> - 2003-08-28 13:40:19
|
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 |
From: Mikhail G. <mgr...@co...> - 2003-08-26 20:57:34
|
XMLStarlet Command Line XML Toolkit 0.5.1 = http://xmlstar.sourceforge.net/ XMLStarlet is a set of command line utilities (tools) which can be used = to transform, query, validate, and edit XML documents and files using = simple set of shell commands in similar way it is done for plain text = files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with = many XML documents on UNIX shell command prompt as well as for automated = XML processing with shell scripts. The toolkit's feature set includes options to:=20 a.. Check or validate XML files (simple well-formedness check, DTD, XSD, = RelaxNG)=20 a.. Calculate values of XPath expressions on XML files (such as running = sums, etc)=20 a.. Search XML files for matches to given XPath expressions=20 a.. Apply XSLT stylesheets to XML documents (including EXSLT support, = and passing parameters to stylesheets)=20 a.. Query XML documents (ex. query for value of some elements of = attributes, sorting, etc)=20 a.. Modify or edit XML documents (ex. delete some elements)=20 a.. Format or "beautify" XML documents (as changing indentation, etc)=20 a.. Fetch XML documents using http:// or ftp:// URLs=20 a.. Browse tree structure of XML documents (in similar way to 'ls' = command for directories)=20 a.. Include one XML document into another using XInclude=20 a.. XML c14n canonicalization=20 a.. Escape/unescape special XML characters in input text=20 a.. Print directory as XML document=20 a.. Convert XML into PYX format (based on ESIS - ISO 8879) and vice = versa=20 XMLStarlet command line utility is written in C and uses libxml2 and = libxslt from http://xmlsoft.org/.=20 Implementation of extensive choice of options for XMLStarlet utility was = only possible because of rich feature set of libxml2 and libxslt (many = thanks to the developers of those libraries for great work).=20 XMLStarlet is linked statically to both libxml2 and libxslt, so = generally all you need to process XML documents is one executable file. = To run XmlStarlet utility you can simple type 'xml' on command line and = see list of options available.=20 XMLStarlet is open source freeware under MIT license which allows free = use and distribution for both commercial and non-commercial projects.=20 We welcome any user's feedback on this project which would greatly help = us to improve its quality. Comments, suggestions, feature requests, bug = reports can be done via SourceForge project web site (see XMLStarlet = Sourceforge forums, or XMLStarlet mailing list) Changes: Changes since 0.4.0=20 1. New Option to convert PYX into XML=20 2. Now available on Windows=20 3. Improvements in command line options parsing=20 4. Better namespace support for 'edit' option=20 5. Recompiled against recent libxml2-2.5.10 and libxslt-1.0.32 libraries = 6. New binaries for Windows/Solaris8-sparc/RedHat-7.3/Mandrake-9.1/=20 7. Documentation and web site updates=20 8. Improved build scripts and make files=20 9. Additional examples and tests=20 10. Other fixes and enhancements=20 a.. User Resources =20 Overview =20 Documentation =20 Download XmlStarlet =20 License (MIT) =20 a.. Developer Resources =20 XmlStarlet Source Code =20 XmlStarlet SourceForge Site =20 XmlStarlet CVS Source =20 XmlStarlet on Freshmeat.Net =20 --XMLStarlet Dev Team a..=20 --- 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 |
From: Mikhail G. <mgr...@co...> - 2003-08-11 00:41:19
|
XmlStarlet 0.4.0 is now available for Windows.=20 You can download it here = http://xmlstar.sourceforge.net/downloads/xmlstarlet-0.4.0-win32.zip. At later time it will also appear on Sourceforge mirrors = (http://sourceforge.net/projects/xmlstar/) This version was compiled using MINGW32 with MSYS. It was linked = statically against libxml2-2.5.9 and libxslt-1.0.32. It doesn't require any additional = DLLs. Documentation for XmlStarlet is available at = http://xmlstar.sourceforge.net/doc/xmlstarlet.pdf (Main site http://xmlstar.sourceforge.net/). -------------------------------------------------------------------------= ------- XMLStarlet Command Line XML Toolkit 0.4.0 = http://xmlstar.sourceforge.net/ XMLStarlet is a set of command line utilities (tools) which can be used = to transform, query, validate, and edit XML documents and files using = simple set of shell commands in similar way it is done for plain text = files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with = many XML documents on UNIX shell command prompt as well as for automated = XML processing with shell scripts. The toolkit's feature set includes options to:=20 a.. Check or validate XML files (simple well-formedness check, DTD, XSD, = RelaxNG)=20 a.. Calculate values of XPath expressions on XML files (such as running = sums, etc)=20 a.. Search XML files for matches to given XPath expressions=20 a.. Apply XSLT stylesheets to XML documents (including EXSLT support, = and passing parameters to stylesheets)=20 a.. Query XML documents (ex. query for value of some elements of = attributes, sorting, etc)=20 a.. Modify or edit XML documents (ex. delete some elements)=20 a.. Format or "beautify" XML documents (as changing indentation, etc)=20 a.. Fetch XML documents using http:// or ftp:// URLs=20 a.. Browse tree structure of XML documents (in similar way to 'ls' = command for directories)=20 a.. Include one XML document into another using XInclude=20 a.. XML c14n canonicalization=20 a.. Escape/unescape special XML characters in input text=20 a.. Print directory as XML document=20 a.. Convert XML into PYX format (based on ESIS - ISO 8879)=20 XMLStarlet command line utility is written in C and uses libxml2 and = libxslt from http://xmlsoft.org/.=20 Implementation of extensive choice of options for XMLStarlet utility was = only possible because of rich feature set of libxml2 and libxslt (many = thanks to the developers of those libraries for great work).=20 XMLStarlet is linked statically to both libxml2 and libxslt, so = generally all you need to process XML documents is one executable file. = To run XmlStarlet utility you can simple type 'xml' on command line and = see list of options available.=20 XMLStarlet is open source freeware under MIT license which allows free = use and distribution for both commercial and non-commercial projects.=20 We welcome any user's feedback on this project which would greatly help = us to improve its quality. Comments, suggestions, feature requests, bug = reports can be done via SourceForge project web site (see XMLStarlet = Sourceforge forums, or XMLStarlet mailing list) Changes since 0.3.0=20 1. New Option to convert XML into PYX format (based on ESIS - ISO 8879)=20 2. Improvements command line options parsing=20 3. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/=20 4. Documentation and web site updates=20 5. Improved build scripts and make files=20 6. Additional examples and tests=20 User Resources =20 Overview =20 Documentation =20 Download XmlStarlet =20 License (MIT) =20 Developer Resources =20 XmlStarlet Source Code =20 XmlStarlet SourceForge Site =20 XmlStarlet CVS Source =20 XmlStarlet on Freshmeat.Net =20 --XMLStarlet Dev Team --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.504 / Virus Database: 302 - Release Date: 7/25/2003 |
From: David S. <ds...@vi...> - 2003-07-31 18:54:40
|
On Thu, 31 Jul 2003, Marc-Antoine Parent wrote: > First, my install was quite dated, so I upgraded to be up to speed with > you. > I configured with > ./configure --with-libxml-prefix=/sw --with-libxslt-prefix=/sw > --with-libiconv-dir=/sw > I even have problems compiling, as the with-libiconv-dir is not > honoured (/sw/include does not get in the include path) and hence the > iconv.h is not found in the compile stage. > The proper solution would be to change at the level of configure.in and > Makefile.in. > Here is a patch: Hmm, the patch failed for me in src/Makefile.in. I don't have time right now to figure out exactly why, but here is Makefile.in.rej: *************** *** 83,89 **** install_sh = @install_sh@ INCLUDES = -I. -I$(top_srcdir) -I$(top_srcdir)/src \ -I$(top_builddir) -I$(top_builddir)/src \ ! $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(LIBICONV_CFLAGS) $(CFLAGS) bin_PROGRAMS = xml --- 81,87 ---- install_sh = @install_sh@ INCLUDES = -I. -I$(top_srcdir) -I$(top_srcdir)/src \ -I$(top_builddir) -I$(top_builddir)/src \ ! $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(CFLAGS) bin_PROGRAMS = xml *************** *** 96,102 **** EXTRA_DIST = xml.c xml_edit.c xml_ls.c xml_escape.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h LDADDS = \ ! @LIBXSLT_LIBS@ @LIBXML_LIBS@ @LIBICONV_LIBS@ $(EXTRA_LIBS) subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs --- 94,100 ---- EXTRA_DIST = xml.c xml_edit.c xml_ls.c xml_escape.c xml_select.c xml_trans.c xml_validate.c xml_format.c xml_elem.c xml_C14N.c trans.c binsert.c stack.c binsert.h stack.h trans.h LDADDS = \ ! @LIBXSLT_LIBS@ @LIBXML_LIBS@ $(EXTRA_LIBS) subdir = src mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -- David Sewell, Managing Editor Electronic Imprint, The University of Virginia Press PO Box 400318, Charlottesville, VA 22904-4318 USA Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903 Email: ds...@vi... Tel: +1 434 924 9973 Web: http://www.ei.virginia.edu/ |
From: Marc-Antoine P. <map...@ac...> - 2003-07-31 14:01:20
|
Le Mercredi, 30 juil 2003, =E0 21:18 Canada/Eastern, David Sewell a = =E9crit=20 : > Well, I got it to work, but I don't understand the best fix. > The problem was in linking the iconv library. I just added > "/sw/lib/libiconv.dylib" by hand to the gcc compilation line after=20 > "make" > failed in the ./src directory, and the resulting binary works. I don't > know how the configuration files need to be changed to make that=20 > happen. First, my install was quite dated, so I upgraded to be up to speed with=20= you. I configured with ./configure --with-libxml-prefix=3D/sw --with-libxslt-prefix=3D/sw=20 --with-libiconv-dir=3D/sw I even have problems compiling, as the with-libiconv-dir is not=20 honoured (/sw/include does not get in the include path) and hence the=20 iconv.h is not found in the compile stage. The proper solution would be to change at the level of configure.in and=20= Makefile.in. Here is a patch: |
From: Mikhail G. <mgr...@co...> - 2003-06-19 02:05:52
|
XMLStarlet Command Line XML Toolkit 0.4.0 http://xmlstar.sourceforge.net/ XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts. The toolkit's feature set includes options to: a.. Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG) a.. Calculate values of XPath expressions on XML files (such as running sums, etc) a.. Search XML files for matches to given XPath expressions a.. Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) a.. Query XML documents (ex. query for value of some elements of attributes, sorting, etc) a.. Modify or edit XML documents (ex. delete some elements) a.. Format or "beautify" XML documents (as changing indentation, etc) a.. Fetch XML documents using http:// or ftp:// URLs a.. Browse tree structure of XML documents (in similar way to 'ls' command for directories) a.. Include one XML document into another using XInclude a.. XML c14n canonicalization a.. Escape/unescape special XML characters in input text a.. Print directory as XML document a.. Convert XML into PYX format (based on ESIS - ISO 8879) XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http://xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work). XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type 'xml' on command line and see list of options available. XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects. We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see XMLStarlet Sourceforge forums, or XMLStarlet mailing list) Changes since 0.3.0 1. New Option to convert XML into PYX format (based on ESIS - ISO 8879) 2. Improvements command line options parsing 3. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ 4. Documentation and web site updates 5. Improved build scripts and make files 6. Additional examples and tests User Resources Overview Documentation Download XmlStarlet License (MIT) Developer Resources XmlStarlet Source Code XmlStarlet SourceForge Site XmlStarlet CVS Source XmlStarlet on Freshmeat.Net --XMLStarlet Dev Team --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.489 / Virus Database: 288 - Release Date: 6/10/2003 |
From: Mikhail G. <mgr...@co...> - 2003-05-30 01:59:15
|
XMLStarlet Command Line XML Toolkit 0.3.0 http://xmlstar.sourceforge.net/ XMLStarlet is a set of command line utilities (tools) to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts. The toolkit's feature set includes options to: Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG) Calculate values of XPath expressions on XML files (such as running sums, etc) Search XML files for matches to given XPath expressions Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) Query XML documents (ex. query for value of some elements of attributes, sorting, etc) Modify or edit XML documents (ex. delete some elements) Format or "beautify" XML documents (as changing indentation, etc) Fetch XML documents using http:// or ftp:// URLs Browse tree structure of XML documents (in similar way to 'ls' command for directories) Include one XML document into another using XInclude XML c14n canonicalization Escape/unescape special XML characters in input text Display directories in XML format XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http://xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work). XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type 'xml' on command line and see list of options available. XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ has been released. (i586 rpm are for Mandrake-9.1 and i386 are for RedHat 7.3) We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see XMLStarlet Sourceforge forums at http://sourceforge.net/forum/?group_id=66612, or XMLStarlet mailing list at http://lists.sourceforge.net/lists/listinfo/xmlstar-devel) Changes since 0.2.0 1. Many improvements to 'edit' option 2. Improvements for namespaces support in 'select' option 3. Fixes for 'ls' option 4. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ 5. Documentation and web site updates 6. Improved build scripts and make files 7. Additional examples and tests --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003 |
From: Mikhail G. <mgr...@co...> - 2003-05-22 15:03:19
|
Notes: XMLStarlet Command Line XML Toolkit 0.2.0 http://xmlstar.sourceforge.net/ XMLStarlet is a set of command line utilities (tools) to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using UNIX grep, sed, awk, diff, patch, join, etc commands. This set of command line utilities can be used by those who deal with many XML documents on UNIX shell command prompt as well as for automated XML processing with shell scripts. The toolkit's feature set includes options to: Check or validate XML files (simple well-formedness check, DTD, XSD, RelaxNG) Calculate values of XPath expressions on XML files (such as running sums, etc) Search XML files for matches to given XPath expressions Apply XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) Query XML documents (ex. query for value of some elements of attributes, sorting, etc) Modify or edit XML documents (ex. delete some elements) Format or "beautify" XML documents (as changing indentation, etc) Fetch XML documents using http:// or ftp:// URLs Browse tree structure of XML documents (in similar way to 'ls' command for directories) Include one XML document into another using XInclude XML c14n canonicalization Escape/unescape special XML characters in input text Display directories in XML format XMLStarlet command line utility is written in C and uses libxml2 and libxslt from http://xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet utility was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work). XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to process XML documents is one executable file. To run XmlStarlet utility you can simple type 'xml' on command line and see list of options available. XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ has been released. (i586 rpm are for Mandrake-9.1 and i386 are for RedHat 7.3) We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see XMLStarlet Sourceforge forums at http://sourceforge.net/forum/?group_id=66612, or XMLStarlet mailing list at http://lists.sourceforge.net/lists/listinfo/xmlstar-devel) -------------------------------------------------------------------------------- Changes: Changes since 0.1.0 1. Options to display directory as XML 2. Options to escape/unescape special XML characters 3. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ 4. Minor documentation and web site updates 5. Improved build scripts and make files 6. Additional examples and tests --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003 |
From: Mikhail G. <mgr...@co...> - 2003-05-14 23:46:58
|
Here is a list of next steps in XmlStarlet on TODO or wishlist: 1. Editing xml documents with xml 'ed' option must be improved. 2. add --recover to fix broken XML documents 3. Document how to use proxy in XmlStarlet with nanohttp/ftp via http_proxy, ftp_proxy environment variables ex: export http_proxy=http://192.168.0.1:8080/ 4. Add ability to specify xpath expression in XmlStarlet 'el' option 5. -u option of XmlStarlet 'xml el' should work with others too. I.e. sort | uniq equivalent should work when attributes and attributes values are printed out. 6. Think about 'join' analogue 7. Something like xml sel -t -m <xpath> --exec <shell-cmd> --args <args> is needed 8. How would be possible to insert one XML fragment into another XML document from command line without XInclude? 9. Make use of regular expressions ex: Make all element names uppercase 10. Start thinking about diff and patch. Several tree diff algorithms could be implemented for ordered and non ordered labeled trees. What about creating context diff? How to define context in XML space? Good luck solving NP-Complete problems. 11. What about XUpdate implementation? 12. How about making output with syntax coloring in case if it is running in terminal (not batch) mode. Similar to GNU ls? 13. Convert XML to Lisp S-expressions 14. XML Namespace normalization process (There is a XSLT stylesheet floating on the web which could do it). 15. Make use of performance updates from libxml2. mmap() for document chunks, XMLReader interface, etc. 16. More regression testing test cases required. 17. Better Documentation User Guide and Tutorial is needed. More good and real-world examples. 18. What about XQuery? If you wish to enhance/add something to this list, please, reply. XmlStarlet home page, http://xmlstar.sourceforge.net/ Thanks, --MG --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003 |
From: Mikhail G. <mgr...@co...> - 2003-05-14 01:14:55
|
More documentation updates, new release files now avaiable for download See: http://xmlstar.sourceforge.net/ About XmlStarlet This project pursues a goal to create command line XML toolkit to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using grep/sed/awk/tr/diff/patch. This toolkit can be used by those who deal with many XML document on UNIX shell prompt as well as for automated processing with shell scripts. The toolkit's feature set includes options for: a.. Validating XML files (simple well-formedness check, DTD, XSD, RelaxNG) a.. Calculating values of XPath expressions on XML files (such as running sums, etc) a.. Searching XML files for matches to given XPath expressions a.. Applying XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) a.. Querying XML documents (ex. querying for value of some elements of attributes, sorting, etc) a.. Modifying XML documents (ex. deleting some elements) a.. Re-formatting XML documents (as changing indentation, etc) a.. Fetching XML documents using http:// or ftp:// URLs a.. Browsing structure of XML documents (in similar way to 'ls' command for directories) a.. Including one XML document into another using XInclude a.. XML c14n canonization XMLStarlet command line toolkit is written in C and uses libxml2 and libxslt from http://xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work). XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to use it is one executable file. XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects. We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see XMLStarlet Sourceforge forums) User Resources Overview Documentation Download XmlStarlet License (MIT) Developer Resources XmlStarlet Source Code XmlStarlet SourceForge Site XmlStarlet CVS Source --XMLStarlet Dev Team --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/2003 |
From: Mikhail G. <mgr...@co...> - 2003-05-11 23:32:11
|
Release Name: 0.1.0 Notes: XMLStarlet Command Line XML Toolkit 0.1.0 http://xmlstar.sourceforge.net/ This project pursues a goal to create command line XML toolkit to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files using grep/sed/awk/tr/diff/patch. This toolkit can be used by those who deal with many XML document on UNIX shell prompt as well as for automated processing with shell scripts. The toolkit's feature set includes options for: Validating XML files (simple well-formedness check, DTD, XSD, RelaxNG) Calculating values of XPath expressions on XML files (such as running sums, etc) Searching XML files for matches to given XPath expressions Applying XSLT stylesheets to XML documents (including EXSLT support, and passing parameters to stylesheets) Querying XML documents (ex. querying for value of some elements of attributes, sorting, etc) Modifying XML documents (ex. deleting some elements) Re-formatting XML documents (as changing indentation, etc) Fetching XML documents using http:// or ftp:// URLs Browsing structure of XML documents (in similar way to 'ls' command for directories) Including one XML document into another using XInclude XML c14n canonization XMLStarlet command line toolkit is written in C and uses libxml2 and libxslt from http://xmlsoft.org/. Implementation of extensive choice of options for XMLStarlet was only possible because of rich feature set of libxml2 and libxslt (many thanks to the developers of those libraries for great work). XMLStarlet is linked statically to both libxml2 and libxslt, so generally all you need to use it is one executable file. XMLStarlet is open source freeware under MIT license which allows free use and distribution for both commercial and non-commercial projects. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ has been released. (i586 rpm are for Mandrake-9.1 and i386 are for RedHat 7.3) We welcome any user's feedback on this project which would greatly help us to improve its quality. Comments, suggestions, feature requests, bug reports can be done via SourceForge project web site (see XMLStarlet Sourceforge forums at http://sourceforge.net/forum/?group_id=66612) -------------------------------------------------------------------------------- Changes: Changes since 0.0.2 1. Options for unique sorting 2. c14n XML canonization 3. New binaries for Solaris8-sparc/RedHat-7.3/Mandrake-9.1/ 4. Minor documentation and web site updates 5. Improved build scripts and make files 6. Additional examples and tests --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/2003 |