Displaying 2 results from an estimated 2 matches for "sitedata".
Did you mean:
  site_data
  
2013 May 13
2
Creating defined resources based on array of parameters.
Hi all,
With the goal of making my code a little more DRY, I am trying to define 
resource parameters in an array of hashes, and then create defined 
resources from these array items. I am having trouble figuring out the 
syntax for accessing the hash values for the hash currently being worked on 
("self?").
Here''s the code to make it clear:
##### Configuration arguments
2007 Sep 01
2
Importing huge XML-Files
...>21.04.2005</date>
         <time>10:00</time>
         <plotCode>1</plotCode>
         <collarCode />
         <value>2,33</value>
         <depth />
        </Soilrespirationrate>
       <MRType2>
	...
+ <personData>
+ <siteData>
I only need the measurement/MRType1 nodes - how can I do this?  
Currently I am trying the following code:
xmlEventParse("/input.xml", list(startElement=xtract.startElement,  
text=xtract.text), useTagName=TRUE, addContext = FALSE)
xtract.startElement <- function(name,attr){
	st...