Entering edit mode
li lilingdu
▴
450
@li-lilingdu-1884
Last seen 6.6 years ago
Dear all,
I use R "XML" package to parse DTD files, however, it seems that
parseDTD
function cannot extract "entity" information.
================
dtdFile <- system.file("exampleData","foo.dtd", package="XML")
foo.dtd <- parseDTD(dtdFile)
foo.dtd$entities ###NULL
dtdEntity("img", foo.dtd) ###NULL
packageDescription("XML")$Version ### "1.95-2"
================
sessionInfo
=================
R version 2.7.0 (2008-04-22)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] XML_1.95-2
loaded via a namespace (and not attached):
[1] tools_2.7.0
=================
LiGang
[[alternative HTML version deleted]]