|
Re: embedded html in a table row: msg#00093java.enhydra.xmlc
The DOM works on unicode strings, it doesn't contain HTML markup. Go to the HTML 4.0 specification at www.w3.org and find out what the unicode character is for the degrees symbol and insert that in you text string. This should also be a constant in org.enhydra.xml.io.HTMLEntities. Mark Michael Muller <mmuller@xxxxxxxxxxxx> writes: > > i have a table with a weather forecast. each row says something like > "50@ - 70@". [the @ represents the html "degrees" symbol.] sometimes, > however, (in the evening) the first row says just "low of 50@". > > what's the best way to accomplish this? i discovered the hard way that > i can't span the whole thing and substitute, because the degree signs > wind up as "°" on the page. > > should i put span tags around "50", "70" and also around "- 70@" so i > can remove the child from the row? how do i put the child back so i can > clone the rest of the rows? > > should i put a span around the whole thing, clear the span's text, and > add a cdata section with "50° - 70°"? ick. > > thanks for your thoughts, > > -- mike > > _______________________________________________ > XMLC mailing list > XMLC@xxxxxxxxxxx > http://www.enhydra.org/mailman/listinfo.cgi/xmlc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | embedded html in a table row, Michael Muller |
|---|---|
| Next by Date: | xmlc and tomcat4.1.1.12 compatibility problem, Bagyura István |
| Previous by Thread: | embedded html in a table row, Michael Muller |
| Next by Thread: | xmlc and tomcat4.1.1.12 compatibility problem, Bagyura István |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |