On 06/27/2017 05:52 PM, Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com
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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--