xmlfs - a translator for accessing XML documents Copyright (C) 2002, 2005 HurdFR Written by Manuel Menal and Marc de Saint Sauveur This is only an alpha version. It works in read only. It supports text nodes and attributes. It doesn't do anything fancy like size computing, though. Here is an example of how to use it: $ settrans -ca xml ./xmlfs example.xml $ cd xml; ls library0 library1 $ cd library0; ls -A .text1 .text2 @name book0 book1 book2 sub-library0 sub-library1 $ cat .text2 CDATA, again ! $ cat book0 Mark Twain La case de l'oncle Tom 4242 $ cat book0/author/.text Mark Twain As you can see, text nodes are named .textN, with N an integer starting from 0. Sorting is supposed to be stable, so you get the same N every time you access the same file. If there is only one text node at this level, N is ommitted. Attributes are prefixed with @. An example file, example.xml, is provided. Of course, it does not contain anything useful. xmlfs has been tested on several-megabytes XML documents, though. Comments are welcome. -- Manuel Menal