- From: Uche Ogbuji <uche.ogbuji@fourthought.com>
- Date: Sat, 22 Jun 2002 01:18:57 -0600
- To: Patrick Stickler <patrick.stickler@nokia.com>
- cc: RDF Interest <www-rdf-interest@w3.org>
Patrick,
In examples.rdfx, you have:
"""
<!DOCTYPE rdfx [
<!ENTITY rdfx "voc://nokia.com/rdfx-1/">
<!ENTITY rdf "rdf:">
<!ENTITY rdfs "rdf:">
<!ENTITY xsd "xsd:">
<!ENTITY dc "dc:">
<!ENTITY foaf "foaf:">
<!ENTITY ex "ex:">
<!-- Please forgive the nasty abbreviated namespace URIs ;-) -->
]>
<rdfx xmlns:rdf ="&rdf;"
xmlns:rdfs ="&rdfs;"
xmlns:xsd ="&xsd;"
xmlns:dc ="&dc;"
xmlns:foaf ="&foaf;"
xmlns:ex ="&ex;"
xmlns ="&rdfx;">
"""
What's so nasty about this? It's a pattern I've been using for a while, and I
think it really helps readability.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One (San Jose, Boston):
http://www.xmlconference.com/
DAML Reference - http://www.xml.com/pub/a/2002/05/01/damlref.html
The Languages of the Semantic Web - http://www.newarchitectmag.com/documents/s=
2453/new1020218556549/index.html
XML, The Model Driven Architecture, and RDF @ XML Europe -
http://www.xmleurope.com/2002/kttrack.asp#themodel
Received on Saturday, 22 June 2002 03:39:58 UTC