Subject: Re: [xsl] Calling function with text parameter From: Mike Brown <mike@xxxxxxxx> Date: Fri, 1 Nov 2002 15:39:33 -0700 (MST) |
Peter Flynn wrote: > David Carlisle wrote: > > >>Do browsers really treat ' and ' differently? I'm appalled. > > > > They shouldn't. They reference the same codepoint. > > > > Not in (X)HTML they don't. > > ' is declared in the xhtml-special character entities as ' > which in Unicode and ASCII is the unidirectional apostrophe ("'"). > > I'm puzzled. What's the difference? Well, there's no difference; David was mistaken; XHTML, as an XML application, implicitly defines apos and also explicitly defines it in its DTD, as you noted. HTML, however, does not define apos at all. To escape ' in an attribute value in HTML, one must write '. In XSLT-land, this is only of concern to the HTML serializer, if it happens to use ' to delimit attribute values. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Calling function with tex, Peter Flynn | Thread | Re: [xsl] Calling function with tex, David Carlisle |
Re: [xsl] Calling function with tex, Peter Flynn | Date | [xsl] inconsistent Preceding-Siblin, Alan Stein |
Month |