AtomGraph / Web-Client

Generic Linked Data browser and UX component framework. Apache license.
https://hub.docker.com/r/atomgraph/web-client/
Apache License 2.0
121 stars 13 forks source link

UriBuilder for XSLT #11

Closed namedgraph closed 12 years ago

namedgraph commented 12 years ago

Better way than concat() is needed to build URIs from components in XSLT/XPath, probably as an XPath function.

Right now, if $uri and $endpoint-uri are missing, one can end up with links such as http://localhost:8080/sparql&lang=ru, which naturally results in 404 since it's a different absolute path than http://localhost:8080/sparql.

namedgraph commented 12 years ago

Partially solved by the g:query-string() function https://github.com/Graphity/graphity-browser/blob/master/src/main/resources/org/graphity/browser/provider/xslt/functions.xsl