problems about XML dtd entity
1
0
Entering edit mode
li lilingdu ▴ 450
@li-lilingdu-1884
Last seen 5.9 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]]
• 723 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 1 day ago
United States
Hi LiGang -- this is not the right place to ask this; you'll find the package maintainer responsive. > packageDescription('XML')$Maintainer [1] "Duncan Temple Lang <duncan at="" wald.ucdavis.edu="">" Martin LiGang <luzifer.li at="" gmail.com=""> writes: > 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]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Martin Morgan Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M2 B169 Phone: (206) 667-2793
ADD COMMENT

Login before adding your answer.

Traffic: 389 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6