search for: xmlgetattr

Displaying 5 results from an estimated 5 matches for "xmlgetattr".

Did you mean: smbgetattr
2010 Jun 22
0
XMLSchema:::processSchemaTypes() fails with XMLSchema.xsd [was: SSOAP fails with .types[[1]] : subscript out of bounds]
...lt;attribute> definition > > traceback() 12: stop(msg, " ", errors, domain = NA) 11: validObject(.Object) 10: initialize(value, ...) 9: initialize(value, ...) 8: new("RestrictedListType", name = name, elType = elType, elementType = type) 7: processSimpleList(type[[1]], xmlGetAttr(type, "name")) 6: FUN(X[[2L]], ...) 5: lapply(xmlChildren(u), processSchemaType, types = types) 4: processSchemaType(el, substitutionGroups = substGroups) 3: FUN(1:156[[11L]], ...) 2: lapply(seq(length = xmlSize(node)), function(i) { el = node[[i]] if (inherits(el, c("X...
2012 Nov 01
1
How to parse xml with same key name ?
...re same but values are different. <root> <test> Some dummy text </test> <node id="1">one</node> <node id="2">two</node> <node id="3">three</node> </root> When i use xmlGetAttr() function i always get one as value. How can i get one , two and three? Pls help me out of this pblm . -- View this message in context: http://r.789695.n4.nabble.com/How-to-parse-xml-with-same-key-name-tp4648097.html Sent from the R help mailing list archive at Nabble.com.
2012 Dec 28
0
How to apply XPath query on XML nodes separately?
...ains(@value, 'IDA') or contains(@value, 'IPI') or contains(@value, 'IMP') or contains(@value, 'IGI') or contains(@value, 'IEP') ) ]/..", namespaces=ns ) ) if ( ! is.null( ndst ) && length( ndst ) > 0 ) vapply( ndst, xmlGetAttr, vector( mode='character', length=1 ), 'id' ) else NULL } tryCatch( block(), error=function( err ) { warning( err, " caused by document ", doc ) }) } uniprotkb.url <- function( accession, frmt='xml' ) { # Returns valid URL to access Unipro...
2011 Jun 29
0
XML parsing
...</mzML> I want following Information: from mzML/run/spectrumList the "count"-value. I try this like this: >root <- xmlTreeParse("Example_Continuous.imzML",useInternal = TRUE) >spectrumList <-getNodeSet(root,"//spectrumList") >sapply(spectrumList,xmlGetAttr,"count") list() Here I get List and no value, because the node spectrumList is empty. Are there some methods for confortable navigating in the tree, like: getChildrenByName. Thanks in advance -- View this message in context: http://r.789695.n4.nabble.com/XML-parsing-tp3632544p36325...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...</mzML> I want following Information: from mzML/run/spectrumList the "count"-value. I try this like this: >root <- xmlTreeParse("Example_Continuous.imzML",useInternal = TRUE) >spectrumList <-getNodeSet(root,"//spectrumList") >sapply(spectrumList,xmlGetAttr,"count") list() Here I get List and no value, because the node spectrumList is empty. Are there some methods for confortable navigating in the tree, like: getChildrenByName. Thanks in advance -- View this message in context: http://r.789695.n4.nabble.com/XML-parsing-tp3632544p36325...