[Home] [By Thread] [By Date] [Recent Entries]

  • From: "james@x..." <james@x...>
  • To: <xml-dev@i...>
  • Date: Wed, 12 May 1999 18:21:24 +0100

Sorry if this is the inappropriate place to post this question.

I've got some RDF data like
<rdf:RDF
  xmlns:rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns="http://my.netscape.com/rdf/simple/0.9/">
   <channel>
     <title>Internet Alchemy</title>
     <link>http://alchemy.openjava.org/</link>
     <description>Internet Alchemy - last published 7/May/1999</description>
   </channel>
</rdf:RDF>


I want to get the value of the xmlns attribute, so I tried to use
objSource.selectSingleNode("rdf:RDF/@xmlns"), which does not return an attribute object.
The method call objSource.selectSingleNode("rdf:RDF/@xmlns:rdf") *does* return an
attribute object.

It seems that because xmlns is a reserved word, this particular method call does not
return an attribute object.  Is there a way around this?

p.s. Using XMLDOM from Microsoft IE 5.00.2014.0216

Many thanks in advance,
James Carlyle

james@x...
www.xmltree.com - directory of XML content on the web


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member