I\'m struggling to get the correct combination of an XPath expression and the namespace specification as required by package XML (argument namespaces) f
I think @HansHarhoff provides a very good solution.
For anybody else still searching for a solution, in my experience I think the following works more generally since a single XML document can have multiple namespaces.
doc <- xmlInternalTreeParse(xml_source)
ns <- getDefaultNamespace(doc)[[1]]$uri
names(ns)[1] <- "xmlns"
getNodeSet(doc, "//xmlns:Parameter", namespaces = ns)