programming language SML. fxp can validate both XML 1.0 and XML 1.1 documents. It has a programming interface allowing for production of XML applications based on fxp. It is installed with four example applications. WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp PR: ports/116572 Submitted by: Timothy Bourke <timbob at bigpond.com>
4.8 KiB
- + The Program fxviz
- + - + - + - + - +Description | ||
An Example | ||
Summary of Options | ||
Tributes |
+
Description
fxviz is an XML tree visualizer. It reads an XML document and produces @@ -131,7 +131,7 @@ the sequence of fragments it consists of.Simimlarly, an element node can be unfolded such that each of its attributes is represented by its own attribute node as a child of the element. -
+
An Example
Consider the follwing XML document test.xml: @@ -159,32 +159,32 @@ The graph description produced by fxviz will display the document tree as follows: -+
Each node in the tree is connected to each of its children by an edge. Additionally, the nodes are annotated this their starting postions in the XML source. These positions can be viewed by selecting Node Information => Source Position in the vcg menu: -
+
Text nodes are merged such that no text node has another text node as a direct sibling. If you wish to see how a merged text node is composed of text fragments, apply vcg's Unfold Subgraph function to that node. For the second text-node in the b-element this results in: -
+
Additional information about attributes of elements is also available by applying vcg's Unfold Subgraph function to the element node: the attributes are removed from the element node's label, and for each attribute a new attribute node is inserted before the element's content. Each attribute node is labeled with the attribute name and has as a single child the attribute value: -
+
The values of defaulted attributed are marked, and unspecified attributes are either marked as implied or missing: -
+
Finally, if you are interested in the attribute type of some specified attribute, use the Node Information => Attribute Type function: -
-
+
+
Summary of Command Line Options
Each option can be one of: @@ -232,13 +232,13 @@ If fname is -, the standard output is used. Defaults to -. - +Tributes
fxviz generates output for vcg which is an excellent graph layout program written by Georg Sander at the University of Saarbrücken. -+
fxp's feedback address fxp@PSI.Uni-Trier.DE