Arek Kasprzyk wrote:
> 
> On 23 Jan 2007, at 15:55, David Withers wrote:
> 
>> Arek Kasprzyk wrote:
>>>
>>> On 23 Jan 2007, at 13:11, David Withers wrote:
>>>
>>>> Hi Arek,
>>>>
>>>> I've been trying to integrate attribute lists with taverna. The first
>>>> problem I've come across is that the AttributeList elements disappear
>>>> from the xml document when using DatasetConfigXMLUtils. This seems
>>>> to be
>>>> because AttributeList is not in the dtd
>>>> (data/XML/DatasetConfig.dtd). Is
>>>> there a dtd for AttributeList that I can use?
>>>>
>>>> David.
>>>
>>> Hmm ... I am not sure if this is just the matter of adding AttributeList
>>> to the dtd.
>>> martj maybe oblivious about this 'construct' altogether. Richard -
>>> did we
>>> add _any_ support for AttributeList to martj for 0.5? If not, how much
>>> work would
>>> it be required there?
>>
>> There's an AttributeList object and AttributeCollection knows about
>> AttributeLists. If I use a sax parser that doesn't check the dtd the
>> AttributeList objects seem to be populated correctly.
>>
>>> Which part of the martj code are you actually reusing David?
>>
>> I'm using code from the org.ensembl.mart.lib.config package:
>> DatasetConfigXMLUtils, DatasetConfig and the Attribute/Filter objects.
>>
> 
> ok, t if you were willing to tweak it a bit
> on your side it would just mean splitting an AttributeList into individual
> attributes and populating a Query object (or whatever equivalent you
> have on your side)
> to issue a query with individual attributes or alternatively you could wait
> until we put a fix on our web service side to accept queries with a
> AttributeList names
> rather than just individual attributes as it is at the moment

Arek, will you send me an example of a query using attribute lists? The
queries are saved as part of our workflows so I'd like to store them in
the correct format ready for the new web service. It should be easy
enough to split the list into individual attributes for now.

David.

-- 
David Withers
School of Computer Science, University of Manchester,
Oxford Road, Manchester, M13 9PL, UK.
Tel: +44(0)161 275 0145

Reply via email to