]> git.phdru.name Git - extfs.d.git/blob - xml-ANNOUNCE
4ff97efbb5043494ce27dec7ec259e6876b6f184
[extfs.d.git] / xml-ANNOUNCE
1 XML Virtual FileSystem for Midnight Commander
2
3
4 WHAT IS IT
5    View an XML file in Midnight Commander as a filesystem.
6
7
8 WHAT'S NEW in version 1.0.0 (2013-11-23)
9    With lxml.etree-based implementation show only child namespaces
10    (calculated as combined namespaces minus parent's namespaces).
11
12 WHAT'S NEW in version 0.6.0 (2013-11-22)
13    Refactored _list() and attrs2text() to be completely generic.
14
15 WHAT'S NEW in version 0.5.0 (2013-11-19)
16    Added lxml.etree-based implementation.
17
18 WHAT'S NEW in version 0.4.0 (2013-11-19)
19    Added ElementTree-based implementation.
20
21 WHAT'S NEW in version 0.3.0 (2013-11-16)
22    Initial release. Implementation based on minidom.
23
24
25 WHERE TO GET
26    Home page: http://phdru.name/Software/mc/
27     git clone http://git.phdru.name/extfs.d.git
28      git clone git://git.phdru.name/extfs.d.git
29
30
31 The VFS represents tags as directories; the directories are numbered to
32 distinguish tags with the same name; also numbering helps to sort tags by their
33 order in XML instead of sorting them by name. Attributes, text nodes and
34 comments are represented as text files; attributes are shown in a file named
35 "attributes", attributes are listed in the file as name=value lines (I
36 deliberately ignore a small chance of newline characters in values); names and
37 values are reencoded to the console encoding. Text nodes and comments are
38 collected in a file named "text", stripped and reencoded. The filesystem is
39 read-only.
40
41 Implementation based on minidom doesn't understand namespaces, it just shows
42 them among other attributes. ElementTree-based implementation doesn't show
43 namespaces at all. Implementation based on lxml.etree shows namespaces in a
44 separate file "namespaces".
45
46 It is useful to have a top-down view on an XML structure but it's especially
47 convenient to extract text values from tags. One can get, for example, a
48 base64-encoded image - just walk down the VFS to the tag's directory and copy
49 its text file to a real file.
50
51 The VFS was inspired by a FUSE xmlfs: https://github.com/halhen/xmlfs
52
53
54 AUTHOR
55    Oleg Broytman <phd@phdru.name>
56
57 COPYRIGHT
58    Copyright (C) 2013 PhiloSoft Design
59
60 LICENSE
61    GPL