[XML-SIG] Xupdate remove problem

Colin Gillespie C.Gillespie at newcastle.ac.uk
Tue Nov 2 14:13:50 CET 2004


Dear All,

I have a debian testing system and after my latest update, my Xupdate stuff doesn't work.

Can anyone see what if wrong with these scripts? I'm trying to remove the first species.

Thanks

Colin



#xup.xml
<?xml version="1.0"?>
<xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate" xmlns:sbml="http://www.sbml.org/sbml/level2">
	<xu:remove select="//sbml:species[0]"/>
</xu:modifications>

#src.xml
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2" level="2" version="1">
  <model>
   <listOfSpecies>
      <species id="Y1"/>
      <species id="Y2"/>
   </listOfSpecies>
  </model>
</sbml>

> 4xupdate src.xml xup.xml

Nothing changes



More information about the XML-SIG mailing list