dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #02053
Re: DXF Detailed Metadata Export...
Hi Rodolfo
The old metadata export used a very manually crafted parser for a language
called dxf 1.0 which was past its sell-by date and becoming hard to
maintain.
The newer metadata export uses dxf 2.0 which is a much more complete
reflection of the domain objects but I note it doesn't allow the selection
of particular dataelement groups or indicator groups.
We will be working on some functionality to export the selection of all
metadata which might be related to a particular group of indicators, but
that is coming.
In the meantime if there is particular filtering you want to do of the full
metadata dump then share on this list and I (or someone else) can probably
help with an xslt transform you could use which would be infinitely beter
than editing manually.
If you are wanting to edit then there a number of approaches. The oxygen
xml editor is by far the best in my view but sadly not free. emacs (nxml
mode) works really well even on mac and windows but is not for everybody.
For working with xml from the mac or windows shell, then libxml from
http://www.xmlsoft.org/ comes with the handy xmllint tool which can do lots
of things, but one of the most useful is to "pretty print" format the xml.
Bob
On 8 April 2013 19:20, Rodolfo Melia <rmelia@xxxxxxxxxxxx> wrote:
> ... is gone
>
> Hi - 2.10 as well as early development releases of 2.11 had an 'DXF
> Detailed Metadata Export' option. This function allowed to specify what
> Data Elements and Indicators to export. It was great for prototyping
> something in one server, and then moving the final definitions to another
> box. The final release of 2.11 doesn't have that option anymore. I curios
> to learn why the functionality was axed - i suspect some technical reasons
> relating to the explicit use of UID across the new version.
>
> So if that function is not coming back, what is the best strategy for
> moving metadata from one instance to another? I imagine the answer is using
> an XML editor and editing the export XML that you get from the metadata
> export option. Is that the case? Any suggestions of good XML editors that
> allow to read the resulting XML by a human being, so you can be selective
> about what you are moving between boxes? I'm looking for a Mac editor, and
> a Windows editor.
>
> Rodolfo
>
> --
> *Rodolfo Meliá*
> *Principal*
> rmelia@xxxxxxxxxxxx
> www.knowming.com
> +1 708 872 7636
> +44 777 576 4090
> Skype: rod.melia
> Twitter: @RodolfoMelia <https://twitter.com/RodolfoMelia>
>
> Note: Please note my new email address, which I will be using for PSI
> related work: rmelia@xxxxxxxxxxxx
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References