I am programmatically editing an xml file with XML Starlet. I have the following XML document:\[code\] <manifest> <application> <activity> <intent-filter> <action/> <category/> </intent-filter> <intent-filter> </intent-filter> </activity> </application> </manifest>\[/code\]I'm trying to add a new \[code\]<action>\[/code\] tag to the second \[code\]<intent-filter>\[/code\] node. How do I do that without creating a node in the first \[code\]<intent-filter>\[/code\] inadvertently?Expected output:\[code\] <manifest> <application> <activity> <intent-filter> <action/> <category/> </intent-filter> <intent-filter> <action/> </intent-filter> </activity> </application> </manifest>\[/code\]I've reviewed the documentation at: http://xmlstar.sourceforge.net/doc/xmlstarlet.txt Yet, I appear to be missing the solution for this situation.Thanks!