diff --git a/funcext/TSOffice/TSUtils/NodeInfo.tsf b/funcext/TSOffice/TSUtils/NodeInfo.tsf index cf8c7ab..9f533f5 100644 --- a/funcext/TSOffice/TSUtils/NodeInfo.tsf +++ b/funcext/TSOffice/TSUtils/NodeInfo.tsf @@ -165,7 +165,10 @@ public lName := lowerCase(name); r := sselect * from attrs where lName = lowerCase([0]) end; if istable(r) then - return node.GetAttribute(r[1]); + begin + value := node.GetAttribute(r[1]); + return trystrtofloat(value, r) ? r : value; + end children := GetChildren(); r := select * from children where lName = lowerCase(['field']) end;