]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/stxview/StructuredText/STDOM.py
Got a new version of StructuredText from Zope's CVS.
[wxWidgets.git] / wxPython / samples / stxview / StructuredText / STDOM.py
index 1eb2d427314b0c968bd6bd5a02a91d92024f6837..c38f2fa6f499b22e8d81b8c857977cd8a2a925af 100644 (file)
@@ -178,7 +178,7 @@ class ParentNode:
       if not children:
          return None
          
       if not children:
          return None
          
-      n=chidren[0]
+      n=children[0]
 
       if type(n) is st:
          n=TextNode(n)
 
       if type(n) is st:
          n=TextNode(n)
@@ -554,7 +554,7 @@ class Element(Node):
       return self.getNodeType()
       
    def _get_NodeValue(self, type=type, st=type('')):
       return self.getNodeType()
       
    def _get_NodeValue(self, type=type, st=type('')):
-      return self.GetNodeValue(type,st)
+      return self.getNodeValue(type,st)
       
    def _get_ParentNode(self):
       return self.getParentNode()
       
    def _get_ParentNode(self):
       return self.getParentNode()