[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] double quotes in attributes


Subject: RE: [xsl] double quotes in attributes
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 28 Aug 2002 09:17:29 +0100

> Hi, Gurus,
> I have some xml files which is produced by server. 
> Since xml files are produced from many sources, some
> of them contains double quotes in attribute values.
> e.g.
>    <info seq="21" 
>          bind="S000003" 
>          text="Alarm Status 00000100 stream-id="0   
>           LowAlarm"" /> 

These are not XML files. XML does not allow double-quotes inside an
attribute value that is delimited by double-quotes. You have to correct
the software that is generating the incorrect XML.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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



Current Thread
Keywords
xml