Subject: This file is not well formed.An invalid caracter was found .... From: Marcos Coelho <marcos_coelho@xxxxxxxxx> Date: Thu, 12 Oct 2000 04:17:20 -0700 (PDT) |
Hi Friends, 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 Thanks in Advance Marcos Coelho -------------------------- XSL files ------------------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/REC-html40"> <xsl:template match="COSMO"> <html> <head> <title>XML --> XSL ---> HTML </title> </head> <body> <xsl:for-each select="NOTICIAS"> <xsl:value-of select="TITULO"/><br/> <xsl:value-of select="DATA"/><br/> <xsl:value-of select="CONTEUDO"/><br/> <xsl:value-of select="TITULO"/><br/> <xsl:value-of select="TITULO"/><br/> <xsl:value-of select="TITULO"/><p/> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet> -------------------------- XSL files ------------------------------- <!-- 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"?> <!DOCTYPE COSMO SYSTEM "Y:\teste\xml\noticias.dtd"> <COSMO> <NOTICIAS> <TITULO>Coca-Cola tem exclusividade em Sydney</TITULO> <DATA>19/09/00</DATA> <TIPO>Economia</TIPO> <AUTOR>COSMO ON LINE</AUTOR> <CODIGO>03</CODIGO> <HORA>10:08 </HORA> <CONTEUDO>A marca de refrigerantes Coca-Cola fechou um contrato de aproximadamente US$ 1 bilhão com o Comitê Organizador dos Jogos Olímpicos e tem exclusividade de vendas. A Pepsi não pode nem sequer ser bebida, os seguranças mandam as pessoas jogarem as latas fora. </CONTEUDO> </NOTICIAS> <NOTICIAS> <TITULO>Jaqueta de Hendrix vale US$ 28 mil</TITULO> <DATA>19/09/00</DATA> <TIPO>Geral</TIPO> <AUTOR>COSMO ON LINE</AUTOR> <CODIGO>01</CODIGO> <HORA>11:00 </HORA> <CONTEUDO>Uma jaqueta que pertenceu a Jimi Hendrix vai à leilão hoje. Feita em 1967, teria custado ao músico somente US$ 10. Está exposta no Hard Rock Cafe de Covent Garden, em Londres e integra um lote junto com itens que pertenceram a Madonna, Bob Marley e aos Sex Pistols. A expectativa é que possa alcançar US$ 28 mil. Feita de seda verde, exibe estampa oriental - dragões e flores. Era originalmente uma peça feminina. Ontem, completaram-se 30 anos da morte de Hendrix, ocorrida em setembro de 70.</CONTEUDO> </NOTICIAS> <NOTICIAS> <TITULO>Replan volta a funcionar</TITULO> <DATA>19/09/00</DATA> <TIPO>Cidades</TIPO> <AUTOR>COSMO ON LINE</AUTOR> <CODIGO>02</CODIGO> <HORA>11:14 </HORA> <CONTEUDO>A Replan (Refinárias do Planalto) voltou a funcionar normalmente. Os funcionários tinham entrado em greve ontem reivindicando reposição salarial. </CONTEUDO> </NOTICIAS> </COSMO> __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
PHP & XSLT, Net Works GB | Thread | Re: This file is not well formed.An, Gilles Durys |
RE: Replacing the -, Linda van den Brink | Date | Re: This file is not well formed.An, Gilles Durys |
Month |