General discussion

Locked

Free tools for working with XML

By MaryWeilage Editor ·
The July 16 edition of the Visual Basic e-newsletter provides details about Microsoft's free downloadable tools for working with XML.

What is your experience level with XML? Do you plan on downloading these free software tools? If you've already downloaded the XML parser, is it useful in your work? Let us know by posting to our discussion forum.

If you aren't subscribed to our free Visual Basic e-newsletter, click the following link to automatically sign up:
http://nl.com.com/MiniFormHandler?brand=builder&subs_channel=bldr_front_door&list_id=e065&tag=fb

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Other Microsoft XML tools

by Andrew Houghton In reply to Free tools for working wi ...

Microsoft has another XML tool that I find valuable: Internet Explorer Tools for Validating XML and Viewing XSLT Output, found at the unwieldy URL
http://www.microsoft.com/downloads/details.aspx?FamilyID=d23c1d2c-1571-4d61-bda8-adf9f6849df9&displaylang=en

This tool allow you you to validate XML and view the result of an XSLT transform triggered by an <?xml-stylesheet ?> processing directive. The only problem with this tool is that Microsoft has not updated it to support MSXML 4.0. Although, the scripts are given in the download and can easily be hacked to accommodate MSXML 4.0 with a few changes.

I believed I only changed the line in the msxmlval.htm file from:

var vdoc = xmldoc.cloneNode(false);

to the following lines so it would support MSXML 4.0:

var vdoc = null;

try
{
vdoc = new ActiveXObject("MSXML2.DOMDocument.4.0");
}
catch(e)
{
vdoc = null;
}

if (vdoc == null)
{
vdoc = xmldoc.cloneNode(false);
}

You need to make this change before installing the *.inf files per the readme.txt file.

Collapse -

XMLStarlet Command Line XML/XSLT Toolkit

by mgrouch In reply to Free tools for working wi ...

XmlStarlet 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.


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

Print directory as XML document

Convert XML into PYX format (based on ESIS - ISO 8879), and vice versa

It's open source and free.
Download it from http://xmlstar.sourceforge.net/

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Forums