Hi,

I'm using Jena to write out data to file as RDF/XML-ABBREV. I'm using the
prettyTypes property to ensure that my domain objects sit at the top of the
file. This works great. These XML files are eaten both by RDF-aware tools
but also some legacy tooling. The legacy tooling requires xml elements to
arrive sorted in a particular order. At the moment I'm controlling this by
writing them to the Jena model in the reverse order I want them to appear
in the file. However, this is brittle.

Is there some way to control the sorting of things within a block? For
example, by specifying a list of URIs and having Jena emit the XML in that
order.

Thanks,
Matthew

-- 
Dr Matthew Pocock
Turing ate my hamster LTD
mailto: [email protected]

Integrative Bioinformatics Group, School of Computing Science, Newcastle
University
mailto: [email protected]

gchat: [email protected]
msn: [email protected]
irc.freenode.net: drdozer
skype: matthew.pocock
tel: (0191) 2566550
mob: +447535664143

Reply via email to