Duncan Temple Lang schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antje wrote:
Hi Duncan,
thanks a lot for your explanations.
I tried the following now to understand a bit more:
data <- getNodeSet(doc, "//Data")
xmlName(data[[1]])
xmlName(xmlRoot(data[[1]]))
xpathApply(data[[1]], "
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antje wrote:
> Hi Duncan,
>
> thanks a lot for your explanations.
>
> I tried the following now to understand a bit more:
>
> data <- getNodeSet(doc, "//Data")
> xmlName(data[[1]])
> xmlName(xmlRoot(data[[1]]))
> xpathApply(data[[1]], "./*", xmlNa
Hi Duncan,
thanks a lot for your explanations.
I tried the following now to understand a bit more:
data <- getNodeSet(doc, "//Data")
xmlName(data[[1]])
xmlName(xmlRoot(data[[1]]))
xpathApply(data[[1]], "./*", xmlName)
Is it right that using "data" in the xpathApply() somehow sets the current n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antje wrote:
> Hi there,
>
> does anybody know how to return the xmlPath from a node?
> For example, at several location in the xml file, I have nodes with the
> same name and I'd like to process only the nodes from a certain path.
>
> Any idea?
A
4 matches
Mail list logo