[
Lists Home |
Date Index |
Thread Index
]
- From: uche.ogbuji@fourthought.com
- To: xml-dev@xml.org
- Date: Wed, 13 Dec 2000 09:53:40 -0700 (MST)
> Simon St.Laurent said:
>
> > I wonder if maybe there'd be a way to establish this a little more
> > solidly as a means of providing metadata about links and inclusions.
> > XLink already provides some metadata, but I suspect we're going to
> > find more places where extra information about a link might be useful,
> > and where they might be useful across multiple applications.
>
> Isn't this precisely where topic maps come in?
Ha, little endian. We big-endians would say "RDF". But regardless, there
still needs to be an application-specific vocabulary which can then be
incorporated into an RDF or Topic Map system.
So, to take my example.
<MyOriginElement xinclude:href="http://spam.com/doc.xml"
incstyle:href="http://spam.com/foo.xslt" incstyle:param="myvar='hello
world'" xmlns:incstyle="http://includestyling.xml.org/2000"/>
All you'd have to do for RDF incorporation (I'm just a newbie to XTM) is
wrap it in an <rdf:RDF> element and then you automagically have the
triples you want:
['MyOriginElement', 'http://www.w3.org/1999/XML/xinclude#href',
'http://spam.com/doc.xml']
['MyOriginElement', 'http://includestyling.xml.org/2000#href',
'http://spam.com/foo.xslt']
['MyOriginElement', 'http://includestyling.xml.org/2000#param',
'myvar="hello world"']
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
|