[xsl] removing xml child element

Subject: [xsl] removing xml child element
From: "miguel aviles" <aviles_miguel@xxxxxxxxxxx>
Date: Fri, 07 Mar 2003 15:54:33 -0500


I now this might seem simple but this is my first attempt in xslt
and I having problems finding an example in deleting a child element

here is my xml example:

<MTSScene Version="311" >
	<MTSSceneParms RenderMode="LightTexture"  BlendShadow="1"  EdgeBias="1" />
	<MTSCamera OrbitDist="4" >
		<Rotate x="20.62647"  y="-16.04278"  z="0" />
		<ViewLocation x="0"  y="0"  z="4" />
	</MTSCamera>
	<MTSInstance Name="Simple_0" >
		<Transform>
			<Scale x="0.64708"  y="0.74812"  z="0.93365" />
			<Shear xy="0"  yz="-0"  xz="-0" />
			<Rotate x="-2.25967"  y="-2.21257"  z="64.06983" />
			<Position x="0"  y="-0.38"  z="0" />
		</Transform>
		<MTSGeometry Name="MTSSimple_0"  MultiUV="0"  Type="MTSBox" />
	</MTSInstance>
</MTSScene>


I would like remove the child element <shear> and all its attribute


thanks
Miguel

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread