On Tuesday, October 29, 2013 08:01:33 PM Martynas Jusevičius wrote:
> What you want can be done on the syntactic XML level using entities:
> <rdf:type rdf:resource="&rdfs;Resource"/>
> This would require a local entity definition however:
> 
> <!DOCTYPE rdf:RDF [
>     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#";>
> ]>
> 
> I don't think it can be done using qualified names as attribute values
> as in your example.

You used to be able to enable entity declaration and use in the
RDF/XML writer; it should be in the IO documentation.

(RDF/XML is never going to look pretty, though, prefixes, entities
& breakdancing regardless.)

Chris

-- 
"I know it was late, but Mountjoy never bothers,                /Archer's Goon/
 so long as it's the full two thousand words."

Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)

Reply via email to