Hi All,
Can some one help me gain knowledge as how I can
delete few lines from XML.

Example
  <resource-ref id="ResourceRef_LSSimulator_DataSource_3">
         <res-ref-name>java:/LockTestDb</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Application</res-auth>
         <res-sharing-scope>Shareable</res-sharing-scope>
      </resource-ref>
      <resource-ref id="ResourceRef_LSSimulator_WorkManager_1">
         <res-ref-name>wm/default</res-ref-name>
         <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-
type>
         <res-auth>Container</res-auth>
         <res-sharing-scope>Shareable</res-sharing-scope>
      </resource-ref>


Here I need to delete Only
<resource-ref id="ResourceRef_LSSimulator_DataSource_3">
         <res-ref-name>java:/LockTestDb</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Application</res-auth>
         <res-sharing-scope>Shareable</res-sharing-scope>
      </resource-ref>
Meaning .. I need to delete the tag for Datasource occurance.
Any help will be appreciated


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to