Forgot to mention:
There's no namespaced equivalent of qx.xml.Element.getSingleNodeText
(you may want to add an enhancement bug report for this) so you need to
rewrite your folllowup queries as well, e.g.:
var startTimeNode =
qx.xml.Element.selectSingleNode(activity[i],"foo:Lap/@StartTime",
namespaces);
var startTime = qx.dom.Node.getText(startTimeNode);
On 10/24/2012 06:28 PM, Daniel Wagner wrote:
> Hi Jean-Luc,
>
> the online version of your XML file uses a default namespace
> declaration, so you'll need to create a resolver:
>
> var namespaces = {
> "foo" :
> "http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2"
> };
> var activity = qx.xml.Element.selectNodes(xmlDoc,
> "//foo:Activity", namespaces);
>
>
> Regards,
> Daniel
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel