pasteXML-methods: Paste methods for XiMpLe XML objects

Description Usage Arguments Note See Also

Description

These methods can be used to paste objects if class XiMpLe.node or XiMpLe.doc.

Usage

1
2
3
4
5
6
7
8
9
pasteXML(obj, ...)

## S4 method for signature 'XiMpLe.node'
pasteXML(obj, level = 1, shine = 1,
  indent.by = "\t", tidy = TRUE)

## S4 method for signature 'XiMpLe.doc'
pasteXML(obj, shine = 1, indent.by = "\t",
  tidy = TRUE)

Arguments

obj

An object of class XiMpLe.node or XiMpLe.doc.

...

Additional options for the generic method, see options for a specific method, respectively.

level

Indentation level.

shine

Integer, controlling if the output should be formatted for better readability. Possible values:

0

No formatting.

1

Nodes will be indented.

2

Nodes will be indented and each attribute gets a new line.

indent.by

A charachter string defining how indentation should be done. Defaults to tab.

tidy

Logical, if TRUE the special characters "<" and ">" will be replaced with the entities "&lt;" and "gt;" in attributes and text values.

Note

The functions pasteXMLNode() and pasteXMLTree() have been replaced by the pasteXML methods. They should no longer be used.

See Also

XiMpLe.node, XiMpLe.doc


rkward-community/XiMpLe documentation built on Dec. 13, 2017, 10:11 p.m.