realbasic-nug
[Top] [All Lists]

Trying to get XQL to work

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Trying to get XQL to work
From: Jose R.C. Cruz <anarakisware@gmail.com>
Date: Wed, 29 Oct 2008 13:10:30 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com
Delivered-to: listarchive@realsoftware.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=3918WXVlRi5lQqWuCIJg1DpEHw2zCrmbmUcqT6yIHdk=; b=ZRnQNvSvJerPWlz8uIYmjNYMBu7Ub5CN6rP11Y/W5/AfNGGa6u/DSuUxiOgn7FIx+7 b/2xwY7EuIIZx0y3QLAPaKqUj5U6Fwi59aTkK6vW4NqkcWlYTnhZgFIxXJJeoGNWJkaC 194bPRejyZksJwXz6VOXDy82JFvlmwDuWtljM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=FR8z2meUG9m6T7i/GFIVfattP2VFJThfIIWxztggQ7ltMXApQkBI2tKckelpNC5p5Y /iw5kNZJgpUNDS6Xm76APLOUTON793G2hnpwvj18myeK0YlYlxZJ43WqbPTQKRWqB59G Slto5M20CAElx2cjuKcRu9F8UAAM0Huc7Mh7w=
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
2008 Oct 29, 13:04 PST

Hello, folks!

I seem to have a problem getting XQL to run. If I set the XMLDocument variable, tXML, to the following text,

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<radio>
        <programme>
                <title>Paul Temple and the Jonathan Mystery</title>
                <author>Francis Durbridge</author>
                <genre type="serial" length="30" episodes="8">mystery</genre>
        </programme>
        <programme>
                <title>The Elephant Man</title>
                <author>Bernard Pomerance</author>
                <genre type="play" length="90">drama</genre>
        </programme>
</radio>

then calling tXML.xql("programme") returns an empty, but not nil, XMLNodeList object. Am I missing something here? I am using RB 2007r3 on MacOS X 10.5.1.

I appreciate any input you can provide.

-----
J.C. Cruz
Freelance Writer
MacTech/REALbasic Developer/Python Magazine
anarakisware-at-gmail-dot-com





_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>