It's there in case you or anyone else wishes to grab the data from a node in a nice marked-up manner, without having to parse somewhat messy HTML. A nice concise chunk of XML, should be easy to do something with in Perl, there are plenty of XML tools to parse it with, and plenty of nice ways of re-displaying the data.
Let your imagination run wild!
--
ajt
| [reply] |
| [reply] |
For most nodes, the XML view contains a decent view of the actual content of the node. However, it doesn't work quite like you might want for nodes where the user-visible content of the node doesn't match up with what's actually in the DB. Fortunately, for most of the major superdocs, there's a xml ticker seperate from the XML view.
Unfortunately, the XML view is set up to only give the data in the DB in a fairly literal translation, and to appear for all nodes, regardless of if the XML view will give useful information.
Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
| [reply] |