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. David. -- David Withers School of Computer Science, University of Manchester, Oxford Road, Manchester, M13 9PL, UK. Tel: +44(0)161 275 0145
