tag {tinytest2JUnit}R Documentation

XML tag

Description

Create a list object that roughly mimics the behaviour of a simplistic XML tag element. Supported are XML tag-name, tag-attributes and tag-content.

Usage

tag(name, attributes = list(), content = list())

Arguments

name

character(1) specifying the name of the tag.

attributes

named-list being the XML attributes. Names = attribute names, Values = attribute value.

content

unnamed-list being the content XML-tag. Each element is placed next to each other in the tag.

Value

a XMLtag-object.


[Package tinytest2JUnit version 1.0.3 Index]