XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + X16 - XPath 3.0, XQuery 3.0, X... (2)
-> - Test (1)
-> + XSLT debugger shows [symbol u... (3)
-> - How do i use *.conv to process... (1)
-> - How do i use *.conv to process... (1)
-> + Not able to configure JVM in ... (5)
-> + Converting Cobol flat file to ... (2)
-> + Problem with uninstall - Windo... (2)
-> + Function current() is not reco... (6)
-> + API or web version (2)
-> + How to use Saxon for X16 on WI... (9)
-> + Error in SS X14 syntax highlig... (2)
-> + Option not available (2)
-> + XML Diff functionality and sor... (3)
-> + Convert Oagis XML file to TXT (4)
-> + DataDirect xqresultsequence is... (2)
-> - xfile Legacy file format suppo... (1)
-> + TPFDF (3)
-> + Help needed with SLSRPT - EDIF... (2)
-> - keeps crashing after I try and... (1)
-- Previous [61-80] [81-100] [101-120] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
satish kumarSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: satish kumar
Date: 01 Jul 2013 10:53 AM
Originally Posted: 01 Jul 2013 10:52 AM
Hi,
i am trying to run the valid XML file using XSL code in stylus studio 2006 version. but i am getting the error like "output document cannot be parsed as XML, there are more end tags than the start tags". but XSL is properly indented and not showing any output.

can anyone guide me what will be the problem.

Thanks.

Postnext
Ivan PedruzziSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: Ivan Pedruzzi
Date: 01 Jul 2013 12:32 PM

Post your XSLT and a sample of the XML input as attachment, if you want us to help


Ivan Pedruzzi
Stylus Studio Team

Postnext
satish kumarSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: satish kumar
Date: 01 Jul 2013 02:39 PM
Originally Posted: 01 Jul 2013 02:34 PM
Hi Ivan,

here is the code similar to that i am using... i am giving here the exact headers which i am using for XSLT and XML.

sample XSLT
-----------

<?xml version="1.0"?>
<xsl:stylesheet exclude-result-prefixes="xsl" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<library>
<xsl:value of select="bookslist/books1/book"/>
</library>
</xsl:template>
</xsl:stylesheet>

sample XML:
-----------

<?xml version="1.0"?>
<bookslist>
<books1>
<book>textbook1</book>
</books1>
<books2>
<book>textbook2</book>
</books2>
<books3>
<book>textbook3</book>
</books3>
<books4>
<book>textbook4</book>
</books4>
</bookslist>


so Please look into this and guide me.

Thanks in advance. :)

Sateesh B

Postnext
Ivan PedruzziSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: Ivan Pedruzzi
Date: 02 Jul 2013 09:16 AM

You have a typo in value-of, expect that, it works as expected

<xsl:value-of select="bookslist/books1/book"/>


Ivan Pedruzzi
Stylus Studio Team

Postnext
satish kumarSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: satish kumar
Date: 02 Jul 2013 09:30 AM
Originally Posted: 02 Jul 2013 09:31 AM
but not working. giving the mentioned error.
can you guide me in which cases we will get that type of error?

Thanks,
Sateesh

Postnext
Ivan PedruzziSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: Ivan Pedruzzi
Date: 02 Jul 2013 09:47 AM

Please post a screenshot of Stylus Studio when the error occurs, like the following


Ivan Pedruzzi
Stylus Studio Team

Postnext
Ivan PedruzziSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: Ivan Pedruzzi
Date: 02 Jul 2013 09:47 AM

Please post a screenshot of Stylus Studio when the error occurs, like the following


Ivan Pedruzzi
Stylus Studio Team

Postnext
satish kumarSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: satish kumar
Date: 02 Jul 2013 12:16 PM
here it is..


Unknownscr.docx

Postnext
Ivan PedruzziSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: Ivan Pedruzzi
Date: 02 Jul 2013 09:23 PM

What happens if you click on the text view, see blue arrow in the screenshot attached.

Also can you take a larger screenshot with the all XSLT source visible after the execution?

Please zip your attachment unless you are posting common file formats like .png or .jpg, other file types get blocked by the spam filter



Ivan Pedruzzi
Stylus Studio Team

Posttop
satish kumarSubject: output document cannot be parsed as xml, there are more end tags than the start tags
Author: satish kumar
Date: 03 Jul 2013 06:01 AM
Originally Posted: 03 Jul 2013 05:36 AM
Hello Ivan,
When i am going to click on Preview text, nothing is visible, i mean it is showing only plain window.

so please tell me what could be the problem.

Thanks.

Sateesh

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.