SELECT ?label ?htm
WHERE {
LET (?fn := 'http://www.test.org/Scott_(writer)') .
LET (?li := (smf:lastIndexOf(?fn, "/") + 1)) .
LET (?label := afn:substr(?fn, ?li)) .
LET (?htm := smf:buildURI("http://www.example.be/terms/{?
label}.html")) .
}
<result>
<binding name="label">
<literal>Scott_(writer)</literal>
</binding>
<binding name="htm">
<uri>http://www.example.be/terms/Scott_writer.html</uri>
</binding>
</result>
Where I wouold like to get
<uri>http://www.example.be/terms/Scott_(writer).html</uri>
Reading http://www.rfc-editor.org/rfc/rfc1738.txt
... only alphanumerics, the special characters "$-_.+!*'(),", and
reserved characters used for their reserved purposes may be used
unencoded within a URL ...
I'm confused about this stripping.
--
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.