Removing lines from start of tag to end of tag in XML's
- From: v.vigneshwarabalaji@xxxxxxxxx (Life Is Beautiful)
- Date: Thu, 3 Jul 2008 22:30:29 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Removing lines from start of tag to end of tag in XML's
- From: Rob Dixon
- Re: Removing lines from start of tag to end of tag in XML's
- Prev by Date: Re: Debug Help Please
- Next by Date: Re: Integer data type
- Previous by thread: Debug Help Please
- Next by thread: Re: Removing lines from start of tag to end of tag in XML's
- Index(es):
Relevant Pages
|