Removing lines from start of tag to end of tag in XML's



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

.



Relevant Pages

  • Re: Document order (was: MV Keys)
    ... it is that order has no meaning. ... Historically (XML coming from a ... the XML representation of each node occurs in the XML representation of ...
    (comp.databases.theory)
  • Re: GEDOM as a database format
    ... format for meaning, that is, structure. ... If at least a basic XML schema is agreed on and XML used in any fashion, ... mothers: the autosomal/X mother and the mitochondrial mother .. ...
    (soc.genealogy.computing)
  • Re: XML Not good for Big Files (vs Flat Files)
    ... It's not the FORMAT of XML, it's the fact that it contains ... The meaning comes from the /interpretation/ of the data, ... YAML, CSV, or a custom format. ...
    (comp.lang.java.programmer)
  • Re: Keeping relational design with XML
    ... This miscommunication of meaning ... database and application schema more difficult. ... counter-argument to the claim that XML helps interop. ...
    (microsoft.public.sqlserver.xml)
  • Document order (was: MV Keys)
    ... In e.g. XML the basic assumption is that order has meaning, ... the XML representation of each node occurs in the XML representation of the document after expansion of general entities. ...
    (comp.databases.theory)