W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > February 2009

getting the value in rdf:datatype

From: The Boy <jawalebo@yahoo.fr>
Date: Mon, 2 Feb 2009 08:55:09 -0800 (PST)
Message-ID: <21793364.post@talk.nabble.com>
To: public-rdf-in-xhtml-tf@w3.org

Hello all,

I am trying to parse an owl file(rdf/xml file) using the XML parser in C#
..Net.
I have two questions:

1. how can I test that a XML node contains rdf:datatype attribute

2. how can I get "aValue" when rdf:datatype = "aValue"

here are some lines I would like to parse:

<Employee rdf:ID="EmployeeTest">

    <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
           EmployeeTestName
    </hasName>

 </Employee>

I would like to retrieve "http://www.w3.org/2001/XMLSchema#string".

Thanks in advance for your help.

Joe.
-- 
View this message in context: http://www.nabble.com/getting-the-value-in-rdf%3Adatatype-tp21793364p21793364.html
Sent from the w3.org - public-rdf-in-xhtml-tf mailing list archive at Nabble.com.
Received on Tuesday, 3 February 2009 10:48:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 February 2009 10:48:16 GMT