Rajal Shah wants to do: <OrderRequestHeader orderID="<xsl:value-of select='orderID'/>"> which is not valid in XSLT. Raising an error is the correct thing to do. This should be possible with the following: <OrderRequestHeader orderID="{orderID}"/> Paul