RE: document function support needed
[ 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format