Description Usage Arguments Details Value Author(s) References See Also Examples
These functions provide access to
the elements of a collection of XML attributes
of an XML node. The usual list operators
apply ([
, $
, etc.)
but are implemented by accessing the C-level
structure representing the set of attributes.
1 2 3 4 5 6 |
x |
the |
name |
the name of the attribute whose value is to be retrieved. |
The XMLAttributes
objects are not regular named character
vectors in S but instead are references to C level structures
managed by the XSLT engine. They are accessible as
read-only values (as it makes little sense to modify them since they
are not part of the output document).
names
returns a character vector
giving the names of the attributes in the XML node.
$
and [
return the value of
the specified attributes.
Duncan Temple Lang
http://www.omegahat.org/Sxslt, http://www.omegahat.org/SXalan, http://www.w3.org/Style/XSL
[[.XPathNodeSet
[[.XMLChildren
node.xsl
, node.xml
and ok.R
in the examples directory.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.