RE: [xsl] document function support needed

Subject: RE: [xsl] document function support needed
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2003 17:25:17 -0400
[ Halgurt Mustafa Ali]

So you want to return all the service components where the usertype
matches one of the ones in the profile document?  Can there be more than
one usertype in the profile?

BTW, it would be ***very bad*** practice to use the rdf namespace for
your own private resources (e.g., rdf:tourist), as you do in your
example.  Use your own namespace for them.  The rdf namespace is not
yours to assign, and there is no reason to pollute it with private URIs.

The job would be easier if you included the same namespaces in the
profile document as you use in the rdf document. That way, you would not
have to keep writing tests like *[localname()='tourist']

Why not use an RDF engine that can return the exact resources you want?
Then you can transform the result into your desired output.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread