On 07/09/16 10:44, Rahul Singh rahulsinghindia15(_at_)gmail(_dot_)com wrote:
Hi,
I have only one XML. and there <Nid> contains same data like 000817441.
I want to throw an email for same data.
If you just need to extract the value and email it to (let us assume)
the Id, you could use lxprintf:
$ lxprintf -e 'Nid[.=following::Nid][not(.=preceding::Nid)]' "%s\n" .
test.xml
and pipe the result into a mail utility.
///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
--~--