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#
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">


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

Thanks in advance for your help.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:30 UTC