1

Insert a new subnode in a xml file

view story
linux-howto

http://www.unix.com – Hi, i have an xml file and i want to edit a new sub node in a file like val="<activity android:label="@string/app_name" android_name=".MainActivity1" android:launchMode="singleTask" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation"><intent-filter><action android_name="android.intent.action.MAIN"/><category android_name="android.intent.category.LAUNCHER"/></intent-filter></activity>" i am using this command xmlstarlet ed --subnode "/ (HowTos)