template.spinhtml.rul Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of corese-core Show documentation
Show all versions of corese-core Show documentation
Corese is a Semantic Web Factory (triple store and SPARQL endpoint) implementing RDF, RDFS, SPARQL 1.1
Query and Update.
.
template st:main {
st:call-template-with(st:spin, st:mode, st:html)
}
where {
}
]]>
.
template st:start {
st:call-template(st:html)
}
where {
}
]]>
.
template st:html {
st:head()
st:call-template(st:next)
"SPARQL
"
st:call-template(st:button)
"\n\n"
st:call-template-with(st:spin, st:mode, st:html)
"\n
\n"
st:call-template(st:button)
st:tail()
}
where {
filter (st:set(st:html, true))
}
]]>
var index = 0;
var fst = true;
function next(n) {
if (fst){
document.getElementById("id" + index.toString()).className = "tag";
fst = false;
}
else {
document.getElementById("id" + index.toString()).className = "std";
index += n;
if (index < 0){
index = 0;
fst = true;
}
else {
document.getElementById("id" + index.toString()).className = "tag";
}
}
}
"""
}
where {}
]]>
next"""
""""""
}
where {}
]]>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy