Subject: RE: [xsl] Problems with entities From: "Jaime A Stuardo Bahamondes" <jstuardo@xxxxxxxxxxx> Date: Wed, 19 Nov 2003 17:22:27 -0400 |
Oh.. that doesn't solve the problem... Either ó or ó produces the output %C3%B3. I have this placed on the top of the XSL: <?xml version="1.0" encoding="ISO-8859-1"?> If I change encoding to UTF-8, XSL document becomes invalid. Jaime > -----Mensaje original----- > De: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]En nombre de > cknell@xxxxxxxxxx > Enviado el: Miércoles, 19 de Noviembre de 2003 16:11 > Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Asunto: RE: [xsl] Problems with entities > > > Here it is (space added between ampersand and the rest of the > entity to insure that it will show up, remove the space for use): > > the ampersand & amp; > the greater-than symbol & gt; > the less-than symbol & lt; > > Somehow, I don't think that's what you expected. Things you > might expect to be entities have to be defined in you DTD, > or, depending on the character encoding of your document, you > might find it useful to use the character references > directly. If you are using the UTF-8 encoding, for examle, > the ó character is represented by ó > -- > Charles Knell > cknell@xxxxxxxxxx - email > > > > -----Original Message----- > From: Jaime A Stuardo Bahamondes <jstuardo@xxxxxxxxxxx> > Sent: Wed, 19 Nov 2003 16:49:07 -0400 > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Subject: [xsl] Problems with entities > > Hi all.. > > Inside an XSL document I have: > > <a href="JavaScript:eliminar_datos('DIR', > document.frm.chkDelDir, 'una direccion', 'las direcciones');"> > > the fact is that the sentence "una direccion" must to be > written as "una dirección". When I write the ó, garbage is > shown in the web page. > > I think it's because the single quotes are interpreted by XSL > parser, so I think the solution is to use the entity > corresponding to ó. If I'm correct about the cause of the > problem and the solution, which is the entity for ó? where > can I find a complete set of entities? > > Thanks > Jaime > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Problems with entities, Jaime A Stuardo Baha | Thread | RE: RE: [xsl] Problems with entitie, Jaime A Stuardo Baha |
Re: [xsl] Problems with entities, W. Eliot Kimber | Date | [xsl] OT: Wrong time of messages se, Dimitre Novatchev |
Month |