From: Michael B A. <mb...@io...> - 2005-11-18 05:40:49
|
On Thu, 17 Nov 2005 21:23:49 -0500 Mikhail Grushinskiy <mgr...@gm...> wrote: > -c option in your example needs an argument. It will work if you correct > command line. Indeed. Thanks. But now I've noticed something odd. The following command appears to work: $ cat hashmap.xml | xml sel -t -c "@*|node()" -m "/|@*|node()" > out.xml I expected the result to be identical to the input. But it's not: $ diff hashmap.xml out.xml 1,2d0 < <?xml version="1.0"?> < 57c55 < The following example illustrates how to initialize a <ident>hashmap</ident> and use it to store the object <tt>data</tt> associated with the character string "name". --- > The following example illustrates how to initialize a <ident>hashmap</ident> and use it to store the object <tt>data</tt> associated with the character string "name". Is this normal? Mike PS: I'm just fooling around so don't break your back answering :-> |