cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: I want to delete a node in XML file.
Date Wed, 11 Jun 2003 19:11:23 GMT
You can use XSLT and a identity transformation 
http://www.w3.org/TR/xslt#copying adding a special template handling <web/>:

<xsl:template match="web"/>

Joerg

bosspring 2 wrote:
> Hi all !!!
> 
> I´m trying to delete a simple node in a XML file, but... how???
> 
> Perhaps, I cant to use Source Writing Transformer and replace the node 
> by nothing, but....
> 
> 
> <usuario login="bosspring" password="6p0JBa2a">
>  <nombre>Miguel Ángel</nombre>
>  <mail>bosspring@hotmail.com</mail>
>  <webmaster>
>     <web xmlns:xlink="http://www.w3.org/1999/xlink" 
> xlink:href="XML/interpretes.xml#xpointer(//web[@url='http://usuarios.lycos.es/bosspring'])"

> />
>  </webmaster>
> </usuario>
> 
> I want to delete <web> because the webmaster modifies the content of his 
> web, but I don't know.
> 
> Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message