[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Re: Top Ten Java and XSLT Tips, #5
Subject: [xsl] Re: Top Ten Java and XSLT Tips, #5 From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx> Date: Fri, 31 Aug 2001 12:55:49 -0400 |
[Dimitre Novatchev] > Thomas B. Passin wrote: > > > It works fine. If   doesn't work for some browser, then the main > > alternative to disable-output-escaping is to declare an entity for in > > the stylesheet. > > But how do you define this entity -- as   ? Or as what value??? > > The former is meaningless, because it has exactly the same effect as using the > numerical character reference straight into your code. > Let's not get too picky here! Some people like to use " " and an entity is one way to get it. As you say, there's no difference in the result. > This is why I'm quite puzzled -- what other substitute for   are you using? > > > This is living dangerously, though, because some processors > > will insist on validating the document if there are any DTD declarations in > > it. This won't work unless you include a DTD for the entire xslt > > stylesheet - very annoying. I have this situation using XML Cooktop and the > > Microsoft processor. > > > > Anyone know what browsers can't understand  ? > > Can you point out any browser, which "can't understand  " ? I can't, someone else made the claim. Personally, I just use   But it you were using a lot of those special entities, you probably would want to declare them in a DTD because remembering all those numerical equivalents would be hard, and the resulting code would be hard to read. Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Top Ten Java and XSLT Tip, Dimitre Novatchev | Thread | [xsl] Re: Find second character in , Dimitre Novatchev |
Re: [xsl] xsl-value-of does not pro, David Carlisle | Date | Re: [xsl] Top Ten Java and XSLT Tip, Thomas B. Passin |
Month |