WFS_util_showxml | R Documentation |
This is a cover function for the internal XML print functions print.xml_document
, print.xml_nodeset
and
print.xml_node
. These functions are called by the HOQCutil::cap.out()
that
determines which lines will be printed and the width of the output lines. The function can be used to include
(part of) an XML document in documentation (as is done in a vignette for this package).
WFS_util_showxml( myxml, width = 2000, max_n = 20, lines = NULL, screenwidth = getOption("width", 100) )
myxml |
XML document, node_set or node |
width |
Numeric scalar passed to the xml2 print function indicating how many characters of the xml lines will be shown |
lines |
Numerical vector indicating which lines of the print output will actually be shown.
|
screenwidth |
Numeric scalar scalar indicating at which point the print output will be wrapped.
This argument is passed to |
max_n=20 |
Numeric scalar passed to the xml2 print function indicating how many xml lines will be printed |
NULL (invisible)
## Not run: WFS_util_showxml(cap1,lines=2:3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.