[great-users] Question about node order in GReAT-produced XML-Output-Files
Kevin Smyth
ksmyth at isis.vanderbilt.edu
Thu Feb 6 10:24:49 CST 2014
Hi Dominik,
Unfortunately, GReAT does not allow customization of the node order. I'd
suggest you write a program or XSL to process GReAT's output.
Kevin
On 1/30/2014 10:39 AM, Dominik Giel wrote:
> Dear GReAT-Users,
> some days ago, I asked you a question about the order of XML-nodes in
> an output of GReAT. This phenomena is important to me and I would be
> very happy, if someone of you would have a smart solution on that topic.
> I am looking forward to one of your answers and thank you in advance!
> Greetings from Stuttgart, Germany
> Dominik Giel
> *My Question...*
> ...is is concerning the order of GReAT nodes created when getting an
> XML Output. As I understood the programming of the language, this
> order is alphabeticly.
> In my case, I need an XML-Output File, where the nodes are in that
> order, I insert them in the Transformation process. But unfortunately
> in the XML-Output then node <PROJECT> (where common objects are
> defined) is after <ELEMENTS> in which I want to declare which content
> objects I have.
> In my transformation, I create PROJECT first (as new Reference), then
> ELEMENTS. In my output the XML-nodes are like already described in
> the following order: 1. ELEMENTS, 2. PROJECT.
> Further tests with other names always create a XML-Sheet with
> alphabetic ordered nodes.
> For further use of my produced XML-Sheet, an individual order is
> definitely needed.
> Can I set a setting where GReAT understands to create the PROJECT
> Object first and then the ELEMENTS one?
> Needed output:
> <PROJECT>
> ---Content nodes---
> </PROJECT>
> <ELEMENTS>
> <FIRST>---content---</FIRST>
> <SECOND>---content---</SECOND>
> .
> .
> </ELEMENTS>
> .
> .
> .
>
>
> _______________________________________________
> great-users mailing list
> great-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/great-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20140206/311ad28f/attachment.html
More information about the great-users
mailing list