Hi Christian,i am running the simple query on Basex GUIlet $xml := fn:doc('D:\2018\VCLP-A2 - admin.xml')let $xsl := fn:doc('D:\2018\DBK2BloomsburyDbk.xslt') return xslt:transform($xml,$xsl)RegardsDharmendra Kumar SinghOn Wed, Jun 6, 2018 at 2:49 PM, Christian Grün <christian.gruen@gmail.com> wrote:Hi Dhamendra Kumar,As usual,please provide us with a little example (see http://sscce.org/ for more information).Thanks in advance,ChristianOn Wed, Jun 6, 2018 at 11:16 AM, DK Singh <dharam.mahi@gmail.com> wrote:Hi All,I have a XML file when i apply xslt using xslt:transform function it is giving well formed error, even i tried on BaseX UI using xslt:transform function[FODC0002] "" (Line 1): The markup in the document following the root element must be well-formed.but when the same file i transform on the oxygeng editor it getting transformed, can anyone suggest what going wrong.RegardsDharmendra Kumar Singh