[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: document function support needed

Subject: RE: document function support needed
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 26 Sep 2003 17:25:17 -0400
usage xsl document function
[ 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.