<wb:context xmlns:wb="http://apache.org/cocoon/woody/binding/1.0" xmlns:swpt="http://apache.org/cocoon/propwrite/1.0" xmlns:test="http://test.com/test/1.0" path="/source:patch/source:set"> <wb:value id="status" path="test:status"/> </wb:context>
problem is that in my output I get:
<swpt:patch xmlns:swpt="http://apache.org/cocoon/propwrite/1.0"> <swpt:source>webdav://localhost/dav/test.xml</swpt:source> <swpt:set> <test:status>publish</test:status> </swpt:set> </swpt:patch>
where you can notice that the element is created in a correct way, but the namespace is _not_ declared, so the output is not well-formed XML.
Apart from some obnoxious XSLT tricks that would get the job done, I was wondering if I'm doing something obviously wrong, so I'm asking for your advice before starting to dig the quite scary Woody code. :-)
-- Gianugo Rabellino Pro-netics s.r.l. - http://www.pro-netics.com Orixo, the XML business alliance - http://www.orixo.com (Blogging at: http://www.rabellino.it/blog/)
