format.XMLtag {tinytest2JUnit} | R Documentation |
Format S3 method for the XMLtag
-class
## S3 method for class 'XMLtag'
format(x, level = 0, ...)
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 |
Note, text content does not get indented or put on a new line, since whites space characters are of relevance.
character(1)
vector of the formatted XML tag.