Hi Dharmendra Kumar,When I run this in Oxygen, loading the result into an editor window, I get the same message that BaseX gives:Description: The markup in the document following the root element must be well-formed.Start location: 1:68199URL: http://www.saxonica.com/html/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXXP0003Your transform is not generating a valid XML document.Regards/AndyOn 6 June 2018 at 11:07, DK Singh <dharam.mahi@gmail.com> wrote:Hi Christian for your reference i am attaching the XSLT and XML which i am trying to transfom using BaseX GUIQUERY=========let $xml := fn:doc('D:\2018\VCLP-A2 - admin.xml')let $xsl := fn:doc('D:\2018\DBK2BloomsburyDbk.xslt')return xslt:transform($xml,$xsl)Error==========Error:Stopped at D:/2017/BLOOMSBURRY/testing-code/eBloomsbury/file, 3/23:[FODC0002] "" (Line 1): The markup in the document following the root element must be well-formed.you can try out to simply run the query on BaseX GUI , i have attached the XML and XSLtRegardsDharmendra Kumar SnghOn Wed, Jun 6, 2018 at 3:24 PM, Christian Grün <christian.gruen@gmail.com> wrote:HiDharmendra Kumar.Please provide us with a little self-contained example (see http://sscce.org/ for more information).Thanks in advance ;)Christian
On Wed, Jun 6, 2018 at 11:53 AM, DK Singh <dharam.mahi@gmail.com> wrote: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