[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: This file is not well formed.An invalid caracter was fou

Subject: Re: This file is not well formed.An invalid caracter was found ....
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Thu, 12 Oct 2000 09:14:26 -0400
xml invalid caracter
At 04:17 AM 10/12/2000 -0700, Marcos Coelho wrote:
I made a XSL, and linked it to the XML. But it shows the message on the
subject : The file (XML) is not well formed. There`s an invalid
caracter was found

-------------------------- XSL file -------------------------------

<?xml version="1.0" encoding="ISO-8859-1"?>


--------------------------  XML file -------------------------------
<!-- edited with XML Spy v3.0.7 (http://www.xmlspy.com) by Marcos
Coelho (Cosmo On Line) -->
<?xml-stylesheet type="text/xsl" href="Y:\teste\xml\noticias.xsl"?>
aproximadamente US$ 1 bilhão com o Comitê Organizador dos Jogos
---------look here---------^

You did the right thing in your stylesheet, with the encoding of iso-8859-1. Now you just add the same XML declaration at the very top of your XML document itself, and the well-formed problem goes away.

The stylesheet still probably won't do what you want it to do, but that's a subject for another thread. :)

John E. Simpson | "He asked me if I knew what
http://www.flixml.org | time it was. I said, 'Yes, but
XML Q&A: http://www.xml.com | not right now.'" (Steven Wright)

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.