Hi Nicklas,

Thanks for the prompt response. In this particular case, the URL of the
cgi script I want to call happens to contain the word "value" itself:

<link
   regexp=".++"
   url="http://germinate.scri.ac.uk/cgi-bin/atnopdb/get-all-
data?type=more&value={value}"
/>

and BASE doesn't seem to like that. When I run the updatedb script, I
get this:

[30%]   Building database failed: Error in building: The reference to
entity "value" must end with the ';' delimiter. at line 173 in file
'null': The reference to entity "value" must end with the ';' delimiter.
at line 173 in file 'null'

Is there anyway around this? This situation might arise for a number of
annotation data types.

Thanks

Micha


==================================
Dr Micha M Bayer
Bioinformatics Specialist
Genetics Programme
The Scottish Crop Research Institute
Invergowrie
Dundee
DD2 5DA
Scotland, UK
Telephone +44(0)1382 562731 ext. 2309
Fax +44(0)1382 562426
http://www.scri.sari.ac.uk/MichaBayer.htm
=============================
 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:basedb-users-
> [EMAIL PROTECTED] On Behalf Of Nicklas Nordborg
> Sent: 31 October 2006 12:34
> To: BASE ML
> Subject: Re: [base] BASE2: extended properties -- hyperlinks
> 
> Micha Bayer wrote:
> > Hi,
> >
> > I would like to add additional properties to the
extended-properties.xml
> > config file, and would like to include URLs with them.
> >
> > In the following example entry,
> >
> > <property
> >    name="omim"
> >    title="OMIM"
> >    description=""
> >    column="omim"
> >    type="string"
> >    length="255"
> >    <link
> >       regexp="\d+"
> >
url="http://www.ncbi.nlm.nih.gov/entrez/dispomim.cgi?id={value}";
> >    />
> > </property>
> >
> > what does the regexp attribute in the link element refer to (i.e.
what
> > is it looking for)? And where is "{value}" defined?
> 
> If the value for the property matches the regular expression it will
be
> linked to the url with {value} replaced with the actual value of the
> property. In the given example if omim is '123' for a certain reporter
> it will be linked to
> http://www.ncbi.nlm.nih.gov/entrez/dispomim.cgi?id=123
> 
> If the value is 'abc' it will not be linked since it doesn't match the
> regular expression. You may specify additional regular expressions,
but
> only the first one that matches will be used for the link.
> 
> /Nicklas
> 
>
------------------------------------------------------------------------
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> The BASE general discussion mailing list
> basedb-users@lists.sourceforge.net
> unsubscribe: send a mail with subject "unsubscribe" to
> [EMAIL PROTECTED]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

DISCLAIMER:

This email is from the Scottish Crop Research Institute, but the views 
expressed by the sender are not necessarily the views of SCRI and its 
subsidiaries.  This email and any files transmitted with it are confidential 
to the intended recipient at the e-mail address to which it has been 
addressed.  It may not be disclosed or used by any other than that addressee.
If you are not the intended recipient you are requested to preserve this 
confidentiality and you must not use, disclose, copy, print or rely on this 
e-mail in any way. Please notify [EMAIL PROTECTED] quoting the 
name of the sender and delete the email from your system.

Although SCRI has taken reasonable precautions to ensure no viruses are 
present in this email, neither the Institute nor the sender accepts any 
responsibility for any viruses, and it is your responsibility to scan the email 
and the attachments (if any).


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to