--- /home/cpdev/src/classpath/gnu/xml/transform/ProcessingInstructionNode.java	2005-07-02 21:03:17.000000000 +0000
+++ gnu/xml/transform/ProcessingInstructionNode.java	2005-06-30 05:34:21.000000000 +0000
@@ -57,23 +57,20 @@
 
   final String name;
 
-  ProcessingInstructionNode(String name)
+  ProcessingInstructionNode(TemplateNode children, TemplateNode next,
+                            String name)
   {
+    super(children, next);
     this.name = name;
   }
 
   TemplateNode clone(Stylesheet stylesheet)
   {
-    TemplateNode ret = new ProcessingInstructionNode(name);
-    if (children != null)
-      {
-        ret.children = children.clone(stylesheet);
-      }
-    if (next != null)
-      {
-        ret.next = next.clone(stylesheet);
-      }
-    return ret;
+    return new ProcessingInstructionNode((children == null) ? null :
+                                         children.clone(stylesheet),
+                                         (next == null) ? null :
+                                         next.clone(stylesheet),
+                                         name);
   }
 
   void doApply(Stylesheet stylesheet, QName mode,
