[xsl] Copying an entire NodeSet with modified selected attribute values

Subject: [xsl] Copying an entire NodeSet with modified selected attribute values
From: <michella@xxxxxxx>
Date: Thu, 23 Jun 2005 17:21:51 +0200
Hi all,

A need a little help :

Given SVG:

<svg width="100%" height="100%" viewBox="-24 -21 1296 1135"
preserveAspectRatio="xMinYMin meet" kerning="0" xml:space="preserve"
xmlns:xlink="http://www.w3.org/1999/xlink"; style="stroke: black; fill:
none;">
	<g id="122" type="443" node="Yes">
	...
	</g>
</svg>

I would like to keep/copy the entire SVG Structure, but just change
specific attribute values.

Example :clone it, except that : (...) height="NEWVALUE" (...)

Could it be possible to simple use xsl:copy-of function with exceptions
(IFs)?

Thanks for your replies ;-)

Lawrence Michel

Current Thread