hi, a short update on the XML parser: i added two methods get content out of and into a node of a parsed XML file.
install.packages("XiMpLe", repo="http://R.reaktanz.de")
library(XiMpLe)
and then
parsed.foo <- parseXMLTree("/path/to/some.pluginmap")
# get info
node(parsed.foo, node=list("document","about","author"),
what="attributes", element="email")
# change contents
node(parsed.foo, node=list("document","about","author"),
what="attributes", element="email") <- "[email protected]"
especially the latter is probably not yet as robust as it could be. there's
some more options, like
node(..., cond.attr=list(name="first author"))
so the only missing thing is a paste method, to write an XML object back to a
readably formatted file. the full path to the original file is stored in the
XML object, btw.
viele grüße :: m.eik
--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ RKWard-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkward-devel
