tree <- xmlTreeParse(system.file("extdata",
"testFile.xml",
package="RXMCDA"),
useInternalNodes=TRUE)
altIDs <- getAlternativesIDs(tree)
altVals <- getAlternativesValues(tree, altIDs[[1]])
Run the code above in your browser using DataLab