You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by funing <fu...@necas.nec.co.jp> on 2002/09/23 05:52:48 UTC

how to change xml by xsp?

Hi!all:
    I am a newbie on XSP. I have read some documents about it but I
couldn't make it clear that how to change(or delete) the value of a XML
element defined by XPath such as "/doc/author" in XSP. For example:
	<doc>
	  <title>Test1</title>
	  <author>tom</author>
	</doc>

I want to change the author according the user input, how to do?

Shall I embed the SAX or DOM code into my XSP? 

best regards.
-- 
funing <fu...@necas.nec.co.jp>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>