Re: Having problems with strings in HTML

2006-06-28 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, "Richard Brodie" <[EMAIL PROTECTED]> wrote: >"Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] > >>>By the way, you _do_ realize that your "&" characters should be escaped >>>as "&", don't you? >> >> No they shouldn't. They part of the

Re: Having problems with strings in HTML

2006-06-27 Thread and-google
Sion Arrowsmith wrote: > I've never encountred a browser getting tripped up by it. I suppose you > might need it if you've got parameters called quot or nbsp There are many more entities than you can comfortably remember, and browsers can interpret anything starting with one as being an entity re

Re: Having problems with strings in HTML

2006-06-27 Thread Sion Arrowsmith
Richard Brodie <[EMAIL PROTECTED]> wrote: >"Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] > [ ... ] >>>By the way, you _do_ realize that your "&" characters should be escaped >>>as "&", don't you? >> No they shouldn't. They part of the url, which is (IIRC) a CDATA >

Re: Having problems with strings in HTML

2006-06-27 Thread Richie Hindle
[Kiana] > http://bbc.botany.utoronto.ca/[...]?input=&max=2[...]";> [Lawrence] > By the way, you _do_ realize that your "&" characters should be escaped > as "&", don't you? [Sion] > No they shouldn't. They part of the url, which is (IIRC) a CDATA > attribute of the A element, not PCDATA. The W

Re: Having problems with strings in HTML

2006-06-27 Thread Walter Dörwald
Richard Brodie wrote: > "Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>> By the way, you _do_ realize that your "&" characters should be escaped >>> as "&", don't you? >> No they shouldn't. They part of the url, which is (IIRC) a CDATA >> attribute of the A el

Re: Having problems with strings in HTML

2006-06-27 Thread Richard Brodie
"Sion Arrowsmith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >>By the way, you _do_ realize that your "&" characters should be escaped >>as "&", don't you? > > No they shouldn't. They part of the url, which is (IIRC) a CDATA > attribute of the A element, not PCDATA. It is CDATA

Re: Having problems with strings in HTML

2006-06-27 Thread Fredrik Lundh
Sion Arrowsmith wrote: >>By the way, you _do_ realize that your "&" characters should be escaped >>as "&", don't you? > > No they shouldn't. They part of the url, which is (IIRC) a CDATA > attribute of the A element, not PCDATA. Yes they should. CDATA sections can contain character entities; it'

Re: Having problems with strings in HTML

2006-06-27 Thread Sion Arrowsmith
Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote: > Kiana Toufighi <[EMAIL PROTECTED]> wrote: > >>print ''' >>>href="http://bbc.botany.utoronto.ca/ntools/cgi-bin/ntools_treeview_word.cgi?inp >>ut=&max=2&values_off=no&remove_bracket=no&show_line_nr=yes&show_link_out=yes >> [ ... ] ">Graphi

Re: Having problems with strings in HTML

2006-06-26 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, Kiana Toufighi <[EMAIL PROTECTED]> wrote: >print ''' >href="http://bbc.botany.utoronto.ca/ntools/cgi-bin/ntools_treeview_word.cgi?inp >ut=&max=2&values_off=no&remove_bracket=no&show_line_nr=yes&show_link_out=yes&de >cimal_places=10&show_classification=y

Re: Having problems with strings in HTML

2006-06-26 Thread John Machin
On 27/06/2006 7:51 AM, Kiana Toufighi wrote: > Hi, > > I get a very odd error: > ValueError: unsupported format character 't' (0x74) at index 237 > > Here's my code: > HI_LITE_FILE_NAME = '/var/tmp/out.txt' > > print ''' > href="http://bbc.botany.utoronto.ca/ntools/cgi-bin/ntools_tre

Re: Having problems with strings in HTML

2006-06-26 Thread James Stroud
Kiana Toufighi wrote: > Hi, > > I get a very odd error: > ValueError: unsupported format character 't' (0x74) at index 237 > > Here's my code: > HI_LITE_FILE_NAME = '/var/tmp/out.txt' > > print ''' > href="http://bbc.botany.utoronto.ca/ntools/cgi-bin/ntools_treeview_word.cgi?input=&m

Having problems with strings in HTML

2006-06-26 Thread Kiana Toufighi
Hi, I get a very odd error: ValueError: unsupported format character 't' (0x74) at index 237 Here's my code: HI_LITE_FILE_NAME = '/var/tmp/out.txt' print ''' http://bbc.botany.utoronto.ca/ntools/cgi-bin/ntools_treeview_word.cgi?input=&max=2&values_off=no&remove_bracket=no&show_line_n