Re: [xsl] Transform help

Subject: Re: [xsl] Transform help
From: "Peter Flynn peter@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2017 21:05:07 -0000
On 06/27/2017 05:52 PM, Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx wrote:
> I have an XML file with the following format:
[snip]
> I need to apply a transform to re-order the DirectoryRef child elements such
> that Component/File[@Source="$(var.SomeVar)\Foo.exe"] appears first.

$ lxsort -r DirectoryRef Component File/@Source yourfile.xml >sorted.xml

///Peter

Current Thread