16 lines
902 B
HTML
16 lines
902 B
HTML
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type"
|
|
content="text/html; charset=ISO-8859-1">
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<center>
|
|
<h2> Text Formatter User Guide for Narrative Products</h2>
|
|
<h3>23. Forecast Narrative Engine - Access to Attributes</h3>
|
|
<hr>
|
|
<a href=Slide22.html>Previous Slide</a> <a href=Slide24.html>Next Slide</a> <br><img SRC=Slide23.JPG border=1><br></center>
|
|
<p><p><big>These methods give you access to the attributes of a node. The "get" command returns the value of the given attribute. If this attribute has not been set, it returns None. The "set" command sets the given attribute (e.g. "descriptor") to the given value (e.g. "winds"). Finally, the "setWords" method sets the words for the given node to the given value (e.g. "2 inches") and returns the special value, self.DONE() indicating that this method has completed processing.<br><br><br></big>
|
|
</body>
|
|
</html>
|