I need to combine 2 XML documents into one. The base document contains item specific data and the second contains boiler plate text which needs to be accessed one node at a time. All the files reside on a PC hard drive. I am using Stylus Studio 6 Professional Edition, Build 377m. Snippet from base XML document: ... Transform stylesheet snippet for the above XML: ... This format works and produces the output I want. What I would like to do is use the variable "nodename" in place of "/boiler_plate/branch_name". I have tried inserting $nodename in place of the node name, as in: but get the error message: "Unexpected token in xsl:copy-of"