print.XMLAttributeDef {XML} | R Documentation

## Methods for displaying XML objects

### Description

These different methods attempt to provide a convenient way to display R objects representing XML elements when they are printed in the usual manner on the console, files, etc. via the `print` function. Each typically outputs its contents in the way that they would appear in an XML document.

### Usage

    print.XMLAttributeDef(x, ...)
    print.XMLElementContent(x, ...)
    print.XMLElementDef(x, ...)
    print.XMLEntity(x, ...)
    print.XMLEntityRef(x, ..., indent= "")
    print.XMLNode(x, ..., indent= "")
    print.XMLOrContent(x, ...)
    print.XMLSequenceContent(x, ...)

### Arguments

`x` | the XML object to be displayed
`...` | additional arguments for controlling the output from print. Currently unused.
`indent` | a prefix that is emitted before the node to indent it relative to its parent and child nodes. This is appended with a space at each succesive level of the tree.

### Value

Currently, `NULL`.

### Author(s)

Duncan Temple Lang

### References

http://www.w3.org, http://www.omegahat.org/RSXML

### See Also

`xmlTreeParse`

### Examples

[Package XML version 0.97-7 Index]