cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <sharkb...@mac.com>
Subject [UPDATE] SourceWritingTransformer & Samples
Date Mon, 01 Jul 2002 09:08:12 GMT
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


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


Mime
View raw message