Hi!
It is a fragment of a wider application and users can use a different settings.
In all other settings it work properly, i have a result like <test limit="5.5"/>.
Only in US locale with',' it goes wrong.
best regards...
User Profile
Collapse
-
XML setAttribute() with US locale and ',' as a decimal separator
I've set US locale with ',' (comma) as a decimal separator.
My code :
...Code:var xmlObject = new ActiveXObject("MSXML2.DOMDocument.3.0"); xmlObject.setProperty("SelectionLanguage", "XPath"); var datasetNode = xmlObject.createElement("dataset"); datasetNode.setAttribute("name", "test"); var recordNode = datasetNode.ownerDocument.createElement("test");
No activity results to display
Show More
Leave a comment: