Oops, very embarrassing - the function below actually exists already  
as part of the SMF library implemented in SPIN, by myself.

For example smf:prefix(owl:Thing)  returns "owl".

Holger


On Jul 14, 2009, at 10:01 AM, Holger Knublauch wrote:

>
> It would actually be doable to implement a SPIN function that takes a
> namespace and returns the prefix for it. The function's body would
> comprise of a call to smf:qname() followed by smf:substring to get
> everything before the :
>
> Otherwise, of course, a Java function could do it, but that requires
> more work...
>
> Holger
>
>
> On Jul 14, 2009, at 9:52 AM, Catrina wrote:
>
>>
>> Scott,
>>
>> That's what I thought, but thought it was worth asking.  Thanks for
>> the info.
>>
>> ~Catrina
>>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to