I'm using a content managent system and I am trying to serve dynamically generated url links that are made up of the referring url of xml data, surrounded by a particular template reference. The <DYB_PROP> tags in this code are specific to the CM software (Dynabase) and should print the host url. However things are not working and the tag set is not active within this script. Anyone have an idea how to get around this?
Code:
<SCRIPT>var sidenavperson_template = "template=/pat/templates/person_template.html";
var template = "";
var text = "";
template = person_template;
text = "the person";
document.write(tag("B"));
document.write(tag("A TARGET='_top' HREF='" +) <DYB_PROP PROP="DYB_EVAL(URLPATH())"> (+ "?" + template + "'"));
document.write(text);
document.write(tag("/A"));
document.write(tag("/B"));</SCRIPT>