Home » Server Options » Text & interMedia » ctxsys.markup tag problem
ctxsys.markup tag problem [message #163765] Sun, 19 March 2006 15:54
Messages: 1
Registered: March 2006
Junior Member
Hi Folks
I am facing some kind of inconvenience because of the intermedia text markup; currently in our system; the procedure is like the following for using intermedia text markup;
we have xml tagged data in a table & that will be searched & marked up by ctxsys.markup & presented in the html page; the inconvenience is markup kind of breaks up the html;

for example
if i have a link <a href="http://www.bbc.co.uk">bbc</a> in my data and the searched term was bbc; assume the markup puts <b></b> around the searched term;
the html page output looks like
<a href="http://www.<b>bbc</b>.co.uk"><b>bbc</b></a>

ofcourse the link doesnt work because <b></b> in the href attribute;

Is there a work around?!( i am planning to use javascript! and i also looked at stopwords in intermedia but it doesnt help much because most of my data are dynamic & hence i cant know it beforehand)

PS: I am not an expert in intermedia(which must be obvious by now); so please dont give me threats/swear at me(!!) if my question was pretty basic or
senseless! Smile

Previous Topic: How to Hide an XML Section
Next Topic: inso_filter with cyrillic characters
Goto Forum:

Current Time: Sun May 09 06:19:34 CDT 2021