Listing 4. Initial Exploration of XML as a Filesystem

$ cat example.xml
<root>
  <file1 size="200" />
  <file2 interesting="yes" />
  <file3>filesystems rock
</file3>
</root>

$ fls -0 ./example.xml/root
file1
file2
file3

$ fls -d --show-ea=name,interesting \
   ./example.xml/root/file2
file2   yes

$ fcat example.xml/root/file3
filesystems rock

