<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#cccccc" text="#000000">
Dear Oxygen folks,<br>
<br>
I often find the need to insert an identity transform template into an
XSLT stylesheet I'm writing, but I don't always remember the correct
XPath for the match pattern and the apply-templates/@select, and it's a
nuisance to have to keep looking it up.<br>
<br>
A few times I've created a code template in Oxygen for it, but it keeps
disappearing as I upgrade Oxygen. Would you consider adding this code
template to the built-in list for the XSL editor? It seems like it
would be useful to a lot of XSL developers.<br>
<br>
Name: id<br>
Description: Identity transform.<br>
Associate with: XSL Editor.<br>
Content:<br>
&lt;!-- Identity transform --&gt;<br>
&lt;xsl:template match="@* | node()"&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;xsl:copy&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsl:apply-templates select="@* | node()"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/xsl:copy&gt;<br>
&lt;/xsl:template&gt;<br>
<br>
No doubt you can tweak the content if there is a more approved
variation on the above.<br>
<br>
Thanks for your consideration,<br>
Lars<br>
<br>
</body>
</html>