[fedora-java] xml manipulation

Orion Poplawski orion at cora.nwra.com
Mon Mar 9 20:10:37 UTC 2015


Is it possible to use %pom_xpath_remove (or similar) to edit an arbitrary xml
file?  I'd like to remove from:

releng/org.eclipse.ptp.repo/category.xml:

<site>
 ...
   <feature url="features/org.eclipse.ptp.rdt.sync.fortran_0.0.0.jar"
id="org.eclipse.ptp.rdt.sync.fortran" version="0.0.0">
      <category name="Remote Development Tools"/>
   </feature>
...
</site>

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the java-devel mailing list