You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeremy Quinn <sh...@mac.com> on 2002/07/01 11:08:12 UTC
[UPDATE] SourceWritingTransformer & Samples
Dear All,
The SourceWritingTransformer in HEAD has just been updated
(along with the samples and tests in scratchpad).
There were two main tags in SWT, source:write and source:insert,
each of them was configured in a completely different way, this
update has unified the two tags so that they both follow the
same scheme:
<source:write>
<source:source>path/to/source</source:source>
<source:fragment><thing to="write"/></source:fragment>
</source:write>
<source:insert>
<source:path>where/to/insert</source:path>
<source:source>path/to/source</source:source>
<source:fragment><thing to="write"/></source:fragment>
</source:insert>
This means that you will need to change your projects if you are
using the source:write tag in your work, as this change is
backwards incompatible. Sorry for any inconvenience.
Other changes were made:
both tags now output a report on their activities
both tags buffer the fragment to a DOM, before writing
Known Problems:
Namespaces are not handled correctly! (NS declaration not
written to Source)
<source:reinsert/> tag not acting correctly.
Expect more sample editors in <slash-edit/> in the near future.
regards Jeremy
---------------------------------------------------------------------
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>