getting the value in rdf:datatype

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 UTC