format.XMLtag {tinytest2JUnit} | R Documentation |
Format method for XMLtag class
Description
Format S3 method for the XMLtag
-class
Usage
## S3 method for class 'XMLtag'
format(x, level = 0, ...)
Arguments
x |
an |
level |
print depth level. For each level 2 spaces are added to the left. The content of a tag is automatically indented with 1 level. Except for text-content (see details). |
... |
to ignore |
Details
Note, text content does not get indented or put on a new line, since whites space characters are of relevance.
Value
character(1)
vector of the formatted XML tag.
[Package tinytest2JUnit version 1.1.2 Index]