tools/flutter_sqlite.php
authorAlan Knowles <alan@roojs.com>
Thu, 18 Apr 2019 07:22:43 +0000 (15:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 18 Apr 2019 07:22:43 +0000 (15:22 +0800)
tools/flutter_sqlite.php

index 153a0d6..6bde6e9 100644 (file)
@@ -476,7 +476,7 @@ class fsql {
             switch($cn->nodeName) {
                 case 'dt': // look for name
                     
-                    $name = $cn->childNodes[0]->textContent; //$this->getElementsByClassName($cn->ownerDocument,'name',$cn)->item(0)->textContent;
+                    $name = $cn->getElementsByTagName('span')->item(0)->textContent; //$this->getElementsByClassName($cn->ownerDocument,'name',$cn)->item(0)->textContent;
                     var_Dump($name);
                     $n = array(
                         'type' => 'enum-value',