RWordXMLDoc-class | R Documentation |
This class represents a parsed XML document that originates
from reading the primary document within a Word .docx file.
This is a regular XMLInternalDocument
from the XML
package, but has the additional class information so that we can
operate on it via methods that understand the nature of the content,
i.e. Word structure.
A virtual Class: No objects may be created from it.
.S3Class
:Object of class "character"
this an
opaque data type inherited from the XML
package.
Class "XMLInternalDocument"
, directly.
Class "XMLAbstractDocument"
, by class "XMLInternalDocument", distance 2.
Class "oldClass"
, by class "XMLInternalDocument", distance 3.
signature(from = "RWordXMLDoc", to = "WordArchive")
: ...
Duncan Temple Lang
~put references to the literature/web site here ~
WordArchive-class
f = system.file("SampleDocs", "sampleLists.docx", package = "RWordXML")
doc = wordDoc(f)
x = doc[[getDocument(doc)]]
y = doc[["word/document.xml"]] # note that this doesn't have the special class.
class(x)
class(y)
class(doc[["/word/document.xml"]]) # this one does because of the /.
# We may get around to changing this!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.