FlightGear wiki:Instant-Refs: Difference between revisions

Jump to navigation Jump to search
Line 254: Line 254:
* <code>Host.eval_xpath(document, xpath_expression, type=XPathResult.STRING_TYPE)</code> - will apply the xpath expression to the document specified, returning the requested type (defaulted to string)  
* <code>Host.eval_xpath(document, xpath_expression, type=XPathResult.STRING_TYPE)</code> - will apply the xpath expression to the document specified, returning the requested type (defaulted to string)  
* <code>Host.set_persistent(key,value)</code>  - stores a key/value pair
* <code>Host.set_persistent(key,value)</code>  - stores a key/value pair
* <code>Host.get_persistent(key,default_value)</code> - retrieves a values using the key specified, falling back to the default value
* <code>Host.get_persistent(key,default_value)</code> - retrieves a value using the key specified, falling back to the default value specified


=== Porting ===
=== Porting ===

Navigation menu