[PyWrapper-devel] Fwd: Use of aliases
Status: Alpha
Brought to you by:
jatorre
From: <wi...@go...> - 2006-11-13 20:01:31
|
From: "Skofic A. Milko (IPGRI)" <M.S...@cg...> Subject: Re: Use of aliases Just tried, it works! On Nov 10, 2006, at 17:37 , Markus D=F6ring wrote: > the aliases use the form CONCEPT_ALIAS@NS_ALIAS so > > FullScientificName@abcd206 > > not sure if they work in xml requests; i think they should. > m > > > > On 11/10/06, Skofic A. Milko (IPGRI) < M.S...@cg...> wrote: > A short question: i saw that I can use aliases in the query =20 > parameters instead of full IDs I tried this: > > <?xml version=3D'1.0' encoding=3D'UTF-8'?> > <request> > <header> > <source accesspoint=3D" http://tapir.grinfo.net:8080/pywrapper/=20 > pywrapper?dsa=3DEURISCO" sendtime=3D"2006-11-10T14:41:31.03"/> > </header> > <search count=3D'true' start=3D'0' limit=3D'50'> > <externalOutputModel location=3D" http://rs.tdwg.org/tapir/cs/=20 > abcd2.06/model/abcd206.xml"/> > <filter> > <like> > <concept path=3D'abcd206:/FullScientificName' /> > <literal value=3D'B*' /> > </like> > </filter> > </search> > </request> > > But it says: > > <diagnostic time=3D"2006-11-10T14:55:46.27" level=3D"info"> > Datasource does not contain concept abcd206:/FullScientificName > </diagnostic> > > Did I do anything wrong? I took the alias by searching for the ID =20 > in the alias file. > > Thanks. > |