XML

How to specify the class to use with JAXP (Java API for XML Processing)

The method of discovering a suitable XML Parser is pretty well described in the javadoc of the newInstance function of the javax.xml.parsers.DocumentBuilderFactory class.

Searching for strings in an XML file in Firefox

Firefox can display the contents of an XML file in a nice tree view. I use this feature regularly to browse through large (> 100K) XML files, because Firefox is always open on my desktop and it's easy just to drag&drop the file into the browser window. Unfortunately the "Find" (Ctrl+F) functionality breaks in case of XML. Sad I did not try this with smaller files (only with a few ~300K files) thus I do not know whether it is inherently broken or it just fails to work with larger files. Try it yourself.

Syndicate content