p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_forms thread: Dynamic Content?


Message #1 by Nigel Parker <Nigel.Parker@c...> on Wed, 13 Feb 2002 11:52:36 -0000
Hi guys



This may seem like a really stupid question but...

when an ASP file is being used to create the web page content on the fly

how do you ensure that any returned content is formatted correclty with

regard to inserting quotation marks around content as a string is being

built

in preparartion of being returned.

With the advent of XHTML standards where any tag that has a attribute, the

attribute should be enclosed in qotation marks and in lower case.

For example:-

if a variable were to hold the return contents 

(I'm pretty sure this syntax is wrong, but just go with it for now)

<%

  Dim strContents

  strContents = "<table bgcolor="#ffffcc" cellpadding="1" cellspacing="1"

border="0"> & _

  	        "<tr><td></td></tr>"  & _

                    "</table>"

  Response.Write(strContents)

%>



So, how can the return contents be created so that it would conform to the

XHTML standards?



I would appreciate some help on this, please!



Nigel

Message #2 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 12:06:38 -0000
Hello m8,



What about trying this :)



strcontents = Replace(strContents, """, """")



Basically if your using the Response.write statement to write your html

you either enclose the attributes with a ' or you use "".



Looks like XHTML prefers the ""!



Cheers

Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 11:53

To: ASP Forms

Subject: [asp_forms] Dynamic Content?





Hi guys



This may seem like a really stupid question but...

when an ASP file is being used to create the web page content on the fly

how do you ensure that any returned content is formatted correclty with

regard to inserting quotation marks around content as a string is being

built

in preparartion of being returned.

With the advent of XHTML standards where any tag that has a attribute, the

attribute should be enclosed in qotation marks and in lower case.

For example:-

if a variable were to hold the return contents 

(I'm pretty sure this syntax is wrong, but just go with it for now)

<%

  Dim strContents

  strContents = "<table bgcolor="#ffffcc" cellpadding="1" cellspacing="1"

border="0"> & _

  	        "<tr><td></td></tr>"  & _

                    "</table>"

  Response.Write(strContents)

%>



So, how can the return contents be created so that it would conform to the

XHTML standards?



I would appreciate some help on this, please!



Nigel






Message #3 by Nigel Parker <Nigel.Parker@c...> on Wed, 13 Feb 2002 12:10:40 -0000
Hi Brent (m8)



Thanks for the reply.

I have just thought of this....what do you think?



how about using the &quot; OR the &#34; embedded within the return string

do you think that this would work?



Nigel





> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 12:07

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Hello m8,

> 

> What about trying this :)

> 

> strcontents = Replace(strContents, """, """")

> 

> Basically if your using the Response.write statement to write your html

> you either enclose the attributes with a ' or you use "".

> 

> Looks like XHTML prefers the ""!

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 11:53

> To: ASP Forms

> Subject: [asp_forms] Dynamic Content?

> 

> 

> Hi guys

> 

> This may seem like a really stupid question but...

> when an ASP file is being used to create the web page content on the fly

> how do you ensure that any returned content is formatted correclty with

> regard to inserting quotation marks around content as a string is being

> built

> in preparartion of being returned.

> With the advent of XHTML standards where any tag that has a attribute, the

> attribute should be enclosed in qotation marks and in lower case.

> For example:-

> if a variable were to hold the return contents 

> (I'm pretty sure this syntax is wrong, but just go with it for now)

> <%

>   Dim strContents

>   strContents = "<table bgcolor="#ffffcc" cellpadding="1" cellspacing="1"

> border="0"> & _

>   	        "<tr><td></td></tr>"  & _

>                     "</table>"

>   Response.Write(strContents)

> %>

> 

> So, how can the return contents be created so that it would conform to the

> XHTML standards?

> 

> I would appreciate some help on this, please!

> 

> Nigel

> 




> 




Message #4 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 12:54:37 -0000
Hmm don't think so..but it may do :)!  



To be honest I haven't tried XHTML yet so I haven't a clue what you

are talking about but if I wanted to write some HTML with ASP and have

the attributes enclosed with " then I would use ""! 



Cheers

Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 12:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Hi Brent (m8)



Thanks for the reply.

I have just thought of this....what do you think?



how about using the &quot; OR the &#34; embedded within the return string

do you think that this would work?



Nigel





> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 12:07

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Hello m8,

> 

> What about trying this :)

> 

> strcontents = Replace(strContents, """, """")

> 

> Basically if your using the Response.write statement to write your html

> you either enclose the attributes with a ' or you use "".

> 

> Looks like XHTML prefers the ""!

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 11:53

> To: ASP Forms

> Subject: [asp_forms] Dynamic Content?

> 

> 

> Hi guys

> 

> This may seem like a really stupid question but...

> when an ASP file is being used to create the web page content on the fly

> how do you ensure that any returned content is formatted correclty with

> regard to inserting quotation marks around content as a string is being

> built

> in preparartion of being returned.

> With the advent of XHTML standards where any tag that has a attribute, the

> attribute should be enclosed in qotation marks and in lower case.

> For example:-

> if a variable were to hold the return contents 

> (I'm pretty sure this syntax is wrong, but just go with it for now)

> <%

>   Dim strContents

>   strContents = "<table bgcolor="#ffffcc" cellpadding="1" cellspacing="1"

> border="0"> & _

>   	        "<tr><td></td></tr>"  & _

>                     "</table>"

>   Response.Write(strContents)

> %>

> 

> So, how can the return contents be created so that it would conform to the

> XHTML standards?

> 

> I would appreciate some help on this, please!

> 

> Nigel

> 




> 









Message #5 by Nigel Parker <Nigel.Parker@c...> on Wed, 13 Feb 2002 12:54:21 -0000
Hi Guys



I think I've got the hang of it now...at last!



<!-- QuotationTest.asp -->

<%



 dim str500

 str500 = 500

 Response.write "<html><head><title>Quotation Test</title></head>" & vbcrlf

 response.write	"<body>"  & vbcrlf

 response.write	"<table name=""tblOne"" width=""" & str500  & """

border=""1"">"  & vbcrlf

 response.write "<tr colspan=""2"">"  & vbcrlf

 response.write	"<td><h1>THIS IS A TEST FOR XHTML CONFORMANCE</h1></td>"  &

vbcrlf

 response.write "</tr></table>" 

 response.write	"</body></html>"





%>



Like Brent already said, I put two quotes around each attribute, then if the

attribute

was set by a variable value, insert three quotation marks each side iof the

variable value!



Thanks



Nigel



> -----Original Message-----

> From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> Sent:	13 February 2002 12:11

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Hi Brent (m8)

> 

> Thanks for the reply.

> I have just thought of this....what do you think?

> 

> how about using the &quot; OR the &#34; embedded within the return string

> do you think that this would work?

> 

> Nigel

> 

> 

> > -----Original Message-----

> > From:	Brent Latham [SMTP:Brent2@w...]

> > Sent:	13 February 2002 12:07

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hello m8,

> > 

> > What about trying this :)

> > 

> > strcontents = Replace(strContents, """, """")

> > 

> > Basically if your using the Response.write statement to write your html

> > you either enclose the attributes with a ' or you use "".

> > 

> > Looks like XHTML prefers the ""!

> > 

> > Cheers

> > Brent

> > 

> > -----Original Message-----

> > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > Sent: 13 February 2002 11:53

> > To: ASP Forms

> > Subject: [asp_forms] Dynamic Content?

> > 

> > 

> > Hi guys

> > 

> > This may seem like a really stupid question but...

> > when an ASP file is being used to create the web page content on the fly

> > how do you ensure that any returned content is formatted correclty with

> > regard to inserting quotation marks around content as a string is being

> > built

> > in preparartion of being returned.

> > With the advent of XHTML standards where any tag that has a attribute,

> the

> > attribute should be enclosed in qotation marks and in lower case.

> > For example:-

> > if a variable were to hold the return contents 

> > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > <%

> >   Dim strContents

> >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> cellspacing="1"

> > border="0"> & _

> >   	        "<tr><td></td></tr>"  & _

> >                     "</table>"

> >   Response.Write(strContents)

> > %>

> > 

> > So, how can the return contents be created so that it would conform to

> the

> > XHTML standards?

> > 

> > I would appreciate some help on this, please!

> > 

> > Nigel

> > 




> $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




Message #6 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 13:12:08 -0000
Yep you have it :)



by the way you don't need the vbcrlf's  



and



it will be quicker if you did this



With Response

	.write "bla bal"

	.write "bla bal"

End With



...Much quicker :)



Cheers

Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 12:54

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Hi Guys



I think I've got the hang of it now...at last!



<!-- QuotationTest.asp -->

<%



 dim str500

 str500 = 500

 Response.write "<html><head><title>Quotation Test</title></head>" & vbcrlf

 response.write	"<body>"  & vbcrlf

 response.write	"<table name=""tblOne"" width=""" & str500  & """

border=""1"">"  & vbcrlf

 response.write "<tr colspan=""2"">"  & vbcrlf

 response.write	"<td><h1>THIS IS A TEST FOR XHTML CONFORMANCE</h1></td>"  &

vbcrlf

 response.write "</tr></table>" 

 response.write	"</body></html>"





%>



Like Brent already said, I put two quotes around each attribute, then if the

attribute

was set by a variable value, insert three quotation marks each side iof the

variable value!



Thanks



Nigel



> -----Original Message-----

> From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> Sent:	13 February 2002 12:11

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Hi Brent (m8)

> 

> Thanks for the reply.

> I have just thought of this....what do you think?

> 

> how about using the &quot; OR the &#34; embedded within the return string

> do you think that this would work?

> 

> Nigel

> 

> 

> > -----Original Message-----

> > From:	Brent Latham [SMTP:Brent2@w...]

> > Sent:	13 February 2002 12:07

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hello m8,

> > 

> > What about trying this :)

> > 

> > strcontents = Replace(strContents, """, """")

> > 

> > Basically if your using the Response.write statement to write your html

> > you either enclose the attributes with a ' or you use "".

> > 

> > Looks like XHTML prefers the ""!

> > 

> > Cheers

> > Brent

> > 

> > -----Original Message-----

> > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > Sent: 13 February 2002 11:53

> > To: ASP Forms

> > Subject: [asp_forms] Dynamic Content?

> > 

> > 

> > Hi guys

> > 

> > This may seem like a really stupid question but...

> > when an ASP file is being used to create the web page content on the fly

> > how do you ensure that any returned content is formatted correclty with

> > regard to inserting quotation marks around content as a string is being

> > built

> > in preparartion of being returned.

> > With the advent of XHTML standards where any tag that has a attribute,

> the

> > attribute should be enclosed in qotation marks and in lower case.

> > For example:-

> > if a variable were to hold the return contents 

> > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > <%

> >   Dim strContents

> >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> cellspacing="1"

> > border="0"> & _

> >   	        "<tr><td></td></tr>"  & _

> >                     "</table>"

> >   Response.Write(strContents)

> > %>

> > 

> > So, how can the return contents be created so that it would conform to

> the

> > XHTML standards?

> > 

> > I would appreciate some help on this, please!

> > 

> > Nigel

> > 




> $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 









Message #7 by Nigel Parker <Nigel.Parker@c...> on Wed, 13 Feb 2002 13:10:35 -0000
Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 




Message #8 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 13:15:59 -0000
yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 









Message #9 by Nigel Parker <Nigel.Parker@c...> on Wed, 13 Feb 2002 13:13:47 -0000
Fair comment



Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:16

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> yeah I understand!  When I first started writing HTML I did the same!

> 

> Anything to get the page to load faster :)

> 

> /Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 13:11

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Thanks again Brent

> 

> The vbcrlf's were only there so that the html would look nicer when viewed

> from the browser!!!

> fair point about the dot notation though!

> Nigel

> 

> > -----Original Message-----

> > From:	Brent Latham [SMTP:Brent2@w...]

> > Sent:	13 February 2002 13:12

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Yep you have it :)

> > 

> > by the way you don't need the vbcrlf's  

> > 

> > and

> > 

> > it will be quicker if you did this

> > 

> > With Response

> > 	.write "bla bal"

> > 	.write "bla bal"

> > End With

> > 

> > ...Much quicker :)

> > 

> > Cheers

> > Brent

> > 

> > -----Original Message-----

> > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > Sent: 13 February 2002 12:54

> > To: ASP Forms

> > Subject: [asp_forms] RE: Dynamic Content?

> > 

> > 

> > Hi Guys

> > 

> > I think I've got the hang of it now...at last!

> > 

> > <!-- QuotationTest.asp -->

> > <%

> > 

> >  dim str500

> >  str500 = 500

> >  Response.write "<html><head><title>Quotation Test</title></head>" &

> > vbcrlf

> >  response.write	"<body>"  & vbcrlf

> >  response.write	"<table name=""tblOne"" width=""" & str500  & """

> > border=""1"">"  & vbcrlf

> >  response.write "<tr colspan=""2"">"  & vbcrlf

> >  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> > CONFORMANCE</h1></td>"  &

> > vbcrlf

> >  response.write "</tr></table>" 

> >  response.write	"</body></html>"

> > 

> > 

> > %>

> > 

> > Like Brent already said, I put two quotes around each attribute, then if

> > the

> > attribute

> > was set by a variable value, insert three quotation marks each side iof

> > the

> > variable value!

> > 

> > Thanks

> > 

> > Nigel

> > 

> > > -----Original Message-----

> > > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > > Sent:	13 February 2002 12:11

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hi Brent (m8)

> > > 

> > > Thanks for the reply.

> > > I have just thought of this....what do you think?

> > > 

> > > how about using the &quot; OR the &#34; embedded within the return

> > string

> > > do you think that this would work?

> > > 

> > > Nigel

> > > 

> > > 

> > > > -----Original Message-----

> > > > From:	Brent Latham [SMTP:Brent2@w...]

> > > > Sent:	13 February 2002 12:07

> > > > To:	ASP Forms

> > > > Subject:	[asp_forms] RE: Dynamic Content?

> > > > 

> > > > Hello m8,

> > > > 

> > > > What about trying this :)

> > > > 

> > > > strcontents = Replace(strContents, """, """")

> > > > 

> > > > Basically if your using the Response.write statement to write your

> > html

> > > > you either enclose the attributes with a ' or you use "".

> > > > 

> > > > Looks like XHTML prefers the ""!

> > > > 

> > > > Cheers

> > > > Brent

> > > > 

> > > > -----Original Message-----

> > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > > Sent: 13 February 2002 11:53

> > > > To: ASP Forms

> > > > Subject: [asp_forms] Dynamic Content?

> > > > 

> > > > 

> > > > Hi guys

> > > > 

> > > > This may seem like a really stupid question but...

> > > > when an ASP file is being used to create the web page content on the

> > fly

> > > > how do you ensure that any returned content is formatted correclty

> > with

> > > > regard to inserting quotation marks around content as a string is

> > being

> > > > built

> > > > in preparartion of being returned.

> > > > With the advent of XHTML standards where any tag that has a

> attribute,

> > > the

> > > > attribute should be enclosed in qotation marks and in lower case.

> > > > For example:-

> > > > if a variable were to hold the return contents 

> > > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > > <%

> > > >   Dim strContents

> > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > > cellspacing="1"

> > > > border="0"> & _

> > > >   	        "<tr><td></td></tr>"  & _

> > > >                     "</table>"

> > > >   Response.Write(strContents)

> > > > %>

> > > > 

> > > > So, how can the return contents be created so that it would conform

> to

> > > the

> > > > XHTML standards?

> > > > 

> > > > I would appreciate some help on this, please!

> > > > 

> > > > Nigel

> > > > 




> > > $subst('Email.Unsub').

> > > > 




> > > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 




Message #10 by "O'Hara, Elliott M" <EMOHARA@k...> on Wed, 13 Feb 2002 08:17:13 -0500
Speed is overrated. Am I the only person in the world who likes the IE

spinning globe?





The NASA guy

-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:16 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 














Message #11 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 13:27:30 -0000
This must be a trick question which I'm going to have to make my mind do

gymnastics to understand....



Oops there goes the backflip! ouch!



Ah so the real question is the IE spinning globe spins so fast that you it

looks like its not spinning, and you don't like that!



hmm, well to answer your question I don't really pay that much attention to

it so I'm not that bothered.  I could send an email to Microsoft and ask

them to slow it down for you if you would like?



Cheers

Brent



Reality is a problem!



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:17

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Speed is overrated. Am I the only person in the world who likes the IE

spinning globe?





The NASA guy

-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:16 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 



















Message #12 by "O'Hara, Elliott M" <EMOHARA@k...> on Wed, 13 Feb 2002 08:30:21 -0500
just checking to make sure everyone is awake, thats all.....



-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:28 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





This must be a trick question which I'm going to have to make my mind do

gymnastics to understand....



Oops there goes the backflip! ouch!



Ah so the real question is the IE spinning globe spins so fast that you it

looks like its not spinning, and you don't like that!



hmm, well to answer your question I don't really pay that much attention to

it so I'm not that bothered.  I could send an email to Microsoft and ask

them to slow it down for you if you would like?



Cheers

Brent



Reality is a problem!



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:17

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Speed is overrated. Am I the only person in the world who likes the IE

spinning globe?





The NASA guy

-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:16 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 
























Message #13 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 13:36:19 -0000
Microsoft say you will have to wait until the next version anyway!



:)



So tell me are you going to try XP?



Cheers

Brent



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:30

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





just checking to make sure everyone is awake, thats all.....



-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:28 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





This must be a trick question which I'm going to have to make my mind do

gymnastics to understand....



Oops there goes the backflip! ouch!



Ah so the real question is the IE spinning globe spins so fast that you it

looks like its not spinning, and you don't like that!



hmm, well to answer your question I don't really pay that much attention to

it so I'm not that bothered.  I could send an email to Microsoft and ask

them to slow it down for you if you would like?



Cheers

Brent



Reality is a problem!



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:17

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Speed is overrated. Am I the only person in the world who likes the IE

spinning globe?





The NASA guy

-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:16 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 





























Message #14 by "O'Hara, Elliott M" <EMOHARA@k...> on Wed, 13 Feb 2002 08:36:00 -0500
nope...

waiting on Longhorn





-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:36 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Microsoft say you will have to wait until the next version anyway!



:)



So tell me are you going to try XP?



Cheers

Brent



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:30

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





just checking to make sure everyone is awake, thats all.....



-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:28 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





This must be a trick question which I'm going to have to make my mind do

gymnastics to understand....



Oops there goes the backflip! ouch!



Ah so the real question is the IE spinning globe spins so fast that you it

looks like its not spinning, and you don't like that!



hmm, well to answer your question I don't really pay that much attention to

it so I'm not that bothered.  I could send an email to Microsoft and ask

them to slow it down for you if you would like?



Cheers

Brent



Reality is a problem!



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 13:17

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Speed is overrated. Am I the only person in the world who likes the IE

spinning globe?





The NASA guy

-----Original Message-----

From: Brent Latham [mailto:Brent2@w...]

Sent: Wednesday, February 13, 2002 8:16 AM

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





yeah I understand!  When I first started writing HTML I did the same!



Anything to get the page to load faster :)



/Brent



-----Original Message-----

From: Nigel Parker [mailto:Nigel.Parker@c...]

Sent: 13 February 2002 13:11

To: ASP Forms

Subject: [asp_forms] RE: Dynamic Content?





Thanks again Brent



The vbcrlf's were only there so that the html would look nicer when viewed

from the browser!!!

fair point about the dot notation though!

Nigel



> -----Original Message-----

> From:	Brent Latham [SMTP:Brent2@w...]

> Sent:	13 February 2002 13:12

> To:	ASP Forms

> Subject:	[asp_forms] RE: Dynamic Content?

> 

> Yep you have it :)

> 

> by the way you don't need the vbcrlf's  

> 

> and

> 

> it will be quicker if you did this

> 

> With Response

> 	.write "bla bal"

> 	.write "bla bal"

> End With

> 

> ...Much quicker :)

> 

> Cheers

> Brent

> 

> -----Original Message-----

> From: Nigel Parker [mailto:Nigel.Parker@c...]

> Sent: 13 February 2002 12:54

> To: ASP Forms

> Subject: [asp_forms] RE: Dynamic Content?

> 

> 

> Hi Guys

> 

> I think I've got the hang of it now...at last!

> 

> <!-- QuotationTest.asp -->

> <%

> 

>  dim str500

>  str500 = 500

>  Response.write "<html><head><title>Quotation Test</title></head>" &

> vbcrlf

>  response.write	"<body>"  & vbcrlf

>  response.write	"<table name=""tblOne"" width=""" & str500  & """

> border=""1"">"  & vbcrlf

>  response.write "<tr colspan=""2"">"  & vbcrlf

>  response.write	"<td><h1>THIS IS A TEST FOR XHTML

> CONFORMANCE</h1></td>"  &

> vbcrlf

>  response.write "</tr></table>" 

>  response.write	"</body></html>"

> 

> 

> %>

> 

> Like Brent already said, I put two quotes around each attribute, then if

> the

> attribute

> was set by a variable value, insert three quotation marks each side iof

> the

> variable value!

> 

> Thanks

> 

> Nigel

> 

> > -----Original Message-----

> > From:	Nigel Parker [SMTP:Nigel.Parker@c...]

> > Sent:	13 February 2002 12:11

> > To:	ASP Forms

> > Subject:	[asp_forms] RE: Dynamic Content?

> > 

> > Hi Brent (m8)

> > 

> > Thanks for the reply.

> > I have just thought of this....what do you think?

> > 

> > how about using the &quot; OR the &#34; embedded within the return

> string

> > do you think that this would work?

> > 

> > Nigel

> > 

> > 

> > > -----Original Message-----

> > > From:	Brent Latham [SMTP:Brent2@w...]

> > > Sent:	13 February 2002 12:07

> > > To:	ASP Forms

> > > Subject:	[asp_forms] RE: Dynamic Content?

> > > 

> > > Hello m8,

> > > 

> > > What about trying this :)

> > > 

> > > strcontents = Replace(strContents, """, """")

> > > 

> > > Basically if your using the Response.write statement to write your

> html

> > > you either enclose the attributes with a ' or you use "".

> > > 

> > > Looks like XHTML prefers the ""!

> > > 

> > > Cheers

> > > Brent

> > > 

> > > -----Original Message-----

> > > From: Nigel Parker [mailto:Nigel.Parker@c...]

> > > Sent: 13 February 2002 11:53

> > > To: ASP Forms

> > > Subject: [asp_forms] Dynamic Content?

> > > 

> > > 

> > > Hi guys

> > > 

> > > This may seem like a really stupid question but...

> > > when an ASP file is being used to create the web page content on the

> fly

> > > how do you ensure that any returned content is formatted correclty

> with

> > > regard to inserting quotation marks around content as a string is

> being

> > > built

> > > in preparartion of being returned.

> > > With the advent of XHTML standards where any tag that has a attribute,

> > the

> > > attribute should be enclosed in qotation marks and in lower case.

> > > For example:-

> > > if a variable were to hold the return contents 

> > > (I'm pretty sure this syntax is wrong, but just go with it for now)

> > > <%

> > >   Dim strContents

> > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

> > cellspacing="1"

> > > border="0"> & _

> > >   	        "<tr><td></td></tr>"  & _

> > >                     "</table>"

> > >   Response.Write(strContents)

> > > %>

> > > 

> > > So, how can the return contents be created so that it would conform to

> > the

> > > XHTML standards?

> > > 

> > > I would appreciate some help on this, please!

> > > 

> > > Nigel

> > > 




> > $subst('Email.Unsub').

> > > 




> > $subst('Email.Unsub').

> > 




> $subst('Email.Unsub').

> 




> 


































Message #15 by "Daniel" <daniel@o...> on Wed, 13 Feb 2002 11:26:52 -0500
or you can make your own image and do what you want..



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Brent Latham" <Brent2@w...> wrote in message

news:145879@a..._forms...

:

: Microsoft say you will have to wait until the next version anyway!

:

: :)

:

: So tell me are you going to try XP?

:

: Cheers

: Brent

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:30

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: just checking to make sure everyone is awake, thats all.....

:

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:28 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: This must be a trick question which I'm going to have to make my mind do

: gymnastics to understand....

:

: Oops there goes the backflip! ouch!

:

: Ah so the real question is the IE spinning globe spins so fast that you it

: looks like its not spinning, and you don't like that!

:

: hmm, well to answer your question I don't really pay that much attention

to

: it so I'm not that bothered.  I could send an email to Microsoft and ask

: them to slow it down for you if you would like?

:

: Cheers

: Brent

:

: Reality is a problem!

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:17

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Speed is overrated. Am I the only person in the world who likes the IE

: spinning globe?

:

:

: The NASA guy

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:16 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: yeah I understand!  When I first started writing HTML I did the same!

:

: Anything to get the page to load faster :)

:

: /Brent

:

: -----Original Message-----

: From: Nigel Parker [mailto:Nigel.Parker@c...]

: Sent: 13 February 2002 13:11

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Thanks again Brent

:

: The vbcrlf's were only there so that the html would look nicer when viewed

: from the browser!!!

: fair point about the dot notation though!

: Nigel

:

: > -----Original Message-----

: > From: Brent Latham [SMTP:Brent2@w...]

: > Sent: 13 February 2002 13:12

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: > Yep you have it :)

: >

: > by the way you don't need the vbcrlf's

: >

: > and

: >

: > it will be quicker if you did this

: >

: > With Response

: > .write "bla bal"

: > .write "bla bal"

: > End With

: >

: > ...Much quicker :)

: >

: > Cheers

: > Brent

: >

: > -----Original Message-----

: > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > Sent: 13 February 2002 12:54

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: >

: > Hi Guys

: >

: > I think I've got the hang of it now...at last!

: >

: > <!-- QuotationTest.asp -->

: > <%

: >

: >  dim str500

: >  str500 = 500

: >  Response.write "<html><head><title>Quotation Test</title></head>" &

: > vbcrlf

: >  response.write "<body>"  & vbcrlf

: >  response.write "<table name=""tblOne"" width=""" & str500  & """

: > border=""1"">"  & vbcrlf

: >  response.write "<tr colspan=""2"">"  & vbcrlf

: >  response.write "<td><h1>THIS IS A TEST FOR XHTML

: > CONFORMANCE</h1></td>"  &

: > vbcrlf

: >  response.write "</tr></table>"

: >  response.write "</body></html>"

: >

: >

: > %>

: >

: > Like Brent already said, I put two quotes around each attribute, then if

: > the

: > attribute

: > was set by a variable value, insert three quotation marks each side iof

: > the

: > variable value!

: >

: > Thanks

: >

: > Nigel

: >

: > > -----Original Message-----

: > > From: Nigel Parker [SMTP:Nigel.Parker@c...]

: > > Sent: 13 February 2002 12:11

: > > To: ASP Forms

: > > Subject: [asp_forms] RE: Dynamic Content?

: > >

: > > Hi Brent (m8)

: > >

: > > Thanks for the reply.

: > > I have just thought of this....what do you think?

: > >

: > > how about using the &quot; OR the &#34; embedded within the return

: > string

: > > do you think that this would work?

: > >

: > > Nigel

: > >

: > >

: > > > -----Original Message-----

: > > > From: Brent Latham [SMTP:Brent2@w...]

: > > > Sent: 13 February 2002 12:07

: > > > To: ASP Forms

: > > > Subject: [asp_forms] RE: Dynamic Content?

: > > >

: > > > Hello m8,

: > > >

: > > > What about trying this :)

: > > >

: > > > strcontents = Replace(strContents, """, """")

: > > >

: > > > Basically if your using the Response.write statement to write your

: > html

: > > > you either enclose the attributes with a ' or you use "".

: > > >

: > > > Looks like XHTML prefers the ""!

: > > >

: > > > Cheers

: > > > Brent

: > > >

: > > > -----Original Message-----

: > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > > > Sent: 13 February 2002 11:53

: > > > To: ASP Forms

: > > > Subject: [asp_forms] Dynamic Content?

: > > >

: > > >

: > > > Hi guys

: > > >

: > > > This may seem like a really stupid question but...

: > > > when an ASP file is being used to create the web page content on the

: > fly

: > > > how do you ensure that any returned content is formatted correclty

: > with

: > > > regard to inserting quotation marks around content as a string is

: > being

: > > > built

: > > > in preparartion of being returned.

: > > > With the advent of XHTML standards where any tag that has a

attribute,

: > > the

: > > > attribute should be enclosed in qotation marks and in lower case.

: > > > For example:-

: > > > if a variable were to hold the return contents

: > > > (I'm pretty sure this syntax is wrong, but just go with it for now)

: > > > <%

: > > >   Dim strContents

: > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

: > > cellspacing="1"

: > > > border="0"> & _

: > > >           "<tr><td></td></tr>"  & _

: > > >                     "</table>"

: > > >   Response.Write(strContents)

: > > > %>

: > > >

: > > > So, how can the return contents be created so that it would conform

to

: > > the

: > > > XHTML standards?

: > > >

: > > > I would appreciate some help on this, please!

: > > >

: > > > Nigel

: > > >




: > > $subst('Email.Unsub').

: > > >




: > > $subst('Email.Unsub').

: > >




: > $subst('Email.Unsub').

: >




: >




:




:




:




:




:




:

:





Message #16 by "O'Hara, Elliott M" <EMOHARA@k...> on Wed, 13 Feb 2002 11:39:59 -0500
that's illegal (doing what I want) in most countries

;)



-----Original Message-----

From: Daniel [mailto:daniel@o...]

Sent: Wednesday, February 13, 2002 11:27 AM

To: ASP Forms

Subject: [asp_forms] Re: Dynamic Content?





or you can make your own image and do what you want..



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Brent Latham" <Brent2@w...> wrote in message

news:145879@a..._forms...

:

: Microsoft say you will have to wait until the next version anyway!

:

: :)

:

: So tell me are you going to try XP?

:

: Cheers

: Brent

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:30

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: just checking to make sure everyone is awake, thats all.....

:

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:28 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: This must be a trick question which I'm going to have to make my mind do

: gymnastics to understand....

:

: Oops there goes the backflip! ouch!

:

: Ah so the real question is the IE spinning globe spins so fast that you it

: looks like its not spinning, and you don't like that!

:

: hmm, well to answer your question I don't really pay that much attention

to

: it so I'm not that bothered.  I could send an email to Microsoft and ask

: them to slow it down for you if you would like?

:

: Cheers

: Brent

:

: Reality is a problem!

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:17

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Speed is overrated. Am I the only person in the world who likes the IE

: spinning globe?

:

:

: The NASA guy

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:16 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: yeah I understand!  When I first started writing HTML I did the same!

:

: Anything to get the page to load faster :)

:

: /Brent

:

: -----Original Message-----

: From: Nigel Parker [mailto:Nigel.Parker@c...]

: Sent: 13 February 2002 13:11

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Thanks again Brent

:

: The vbcrlf's were only there so that the html would look nicer when viewed

: from the browser!!!

: fair point about the dot notation though!

: Nigel

:

: > -----Original Message-----

: > From: Brent Latham [SMTP:Brent2@w...]

: > Sent: 13 February 2002 13:12

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: > Yep you have it :)

: >

: > by the way you don't need the vbcrlf's

: >

: > and

: >

: > it will be quicker if you did this

: >

: > With Response

: > .write "bla bal"

: > .write "bla bal"

: > End With

: >

: > ...Much quicker :)

: >

: > Cheers

: > Brent

: >

: > -----Original Message-----

: > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > Sent: 13 February 2002 12:54

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: >

: > Hi Guys

: >

: > I think I've got the hang of it now...at last!

: >

: > <!-- QuotationTest.asp -->

: > <%

: >

: >  dim str500

: >  str500 = 500

: >  Response.write "<html><head><title>Quotation Test</title></head>" &

: > vbcrlf

: >  response.write "<body>"  & vbcrlf

: >  response.write "<table name=""tblOne"" width=""" & str500  & """

: > border=""1"">"  & vbcrlf

: >  response.write "<tr colspan=""2"">"  & vbcrlf

: >  response.write "<td><h1>THIS IS A TEST FOR XHTML

: > CONFORMANCE</h1></td>"  &

: > vbcrlf

: >  response.write "</tr></table>"

: >  response.write "</body></html>"

: >

: >

: > %>

: >

: > Like Brent already said, I put two quotes around each attribute, then if

: > the

: > attribute

: > was set by a variable value, insert three quotation marks each side iof

: > the

: > variable value!

: >

: > Thanks

: >

: > Nigel

: >

: > > -----Original Message-----

: > > From: Nigel Parker [SMTP:Nigel.Parker@c...]

: > > Sent: 13 February 2002 12:11

: > > To: ASP Forms

: > > Subject: [asp_forms] RE: Dynamic Content?

: > >

: > > Hi Brent (m8)

: > >

: > > Thanks for the reply.

: > > I have just thought of this....what do you think?

: > >

: > > how about using the &quot; OR the &#34; embedded within the return

: > string

: > > do you think that this would work?

: > >

: > > Nigel

: > >

: > >

: > > > -----Original Message-----

: > > > From: Brent Latham [SMTP:Brent2@w...]

: > > > Sent: 13 February 2002 12:07

: > > > To: ASP Forms

: > > > Subject: [asp_forms] RE: Dynamic Content?

: > > >

: > > > Hello m8,

: > > >

: > > > What about trying this :)

: > > >

: > > > strcontents = Replace(strContents, """, """")

: > > >

: > > > Basically if your using the Response.write statement to write your

: > html

: > > > you either enclose the attributes with a ' or you use "".

: > > >

: > > > Looks like XHTML prefers the ""!

: > > >

: > > > Cheers

: > > > Brent

: > > >

: > > > -----Original Message-----

: > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > > > Sent: 13 February 2002 11:53

: > > > To: ASP Forms

: > > > Subject: [asp_forms] Dynamic Content?

: > > >

: > > >

: > > > Hi guys

: > > >

: > > > This may seem like a really stupid question but...

: > > > when an ASP file is being used to create the web page content on the

: > fly

: > > > how do you ensure that any returned content is formatted correclty

: > with

: > > > regard to inserting quotation marks around content as a string is

: > being

: > > > built

: > > > in preparartion of being returned.

: > > > With the advent of XHTML standards where any tag that has a

attribute,

: > > the

: > > > attribute should be enclosed in qotation marks and in lower case.

: > > > For example:-

: > > > if a variable were to hold the return contents

: > > > (I'm pretty sure this syntax is wrong, but just go with it for now)

: > > > <%

: > > >   Dim strContents

: > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

: > > cellspacing="1"

: > > > border="0"> & _

: > > >           "<tr><td></td></tr>"  & _

: > > >                     "</table>"

: > > >   Response.Write(strContents)

: > > > %>

: > > >

: > > > So, how can the return contents be created so that it would conform

to

: > > the

: > > > XHTML standards?

: > > >

: > > > I would appreciate some help on this, please!

: > > >

: > > > Nigel

: > > >




: > > $subst('Email.Unsub').

: > > >




: > > $subst('Email.Unsub').

: > >




: > $subst('Email.Unsub').

: >




$subst('Email.Unsub').

: >




$subst('Email.Unsub').

:




:




:




:




:




:

:










Message #17 by Brent Latham <Brent2@w...> on Wed, 13 Feb 2002 16:46:44 -0000
do what you want.....Must be a new standard!



:)

/Brent



-----Original Message-----

From: O'Hara, Elliott M [mailto:EMOHARA@k...]

Sent: 13 February 2002 16:40

To: ASP Forms

Subject: [asp_forms] Re: Dynamic Content?





that's illegal (doing what I want) in most countries

;)



-----Original Message-----

From: Daniel [mailto:daniel@o...]

Sent: Wednesday, February 13, 2002 11:27 AM

To: ASP Forms

Subject: [asp_forms] Re: Dynamic Content?





or you can make your own image and do what you want..



daniel



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Brent Latham" <Brent2@w...> wrote in message

news:145879@a..._forms...

:

: Microsoft say you will have to wait until the next version anyway!

:

: :)

:

: So tell me are you going to try XP?

:

: Cheers

: Brent

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:30

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: just checking to make sure everyone is awake, thats all.....

:

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:28 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: This must be a trick question which I'm going to have to make my mind do

: gymnastics to understand....

:

: Oops there goes the backflip! ouch!

:

: Ah so the real question is the IE spinning globe spins so fast that you it

: looks like its not spinning, and you don't like that!

:

: hmm, well to answer your question I don't really pay that much attention

to

: it so I'm not that bothered.  I could send an email to Microsoft and ask

: them to slow it down for you if you would like?

:

: Cheers

: Brent

:

: Reality is a problem!

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 13:17

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Speed is overrated. Am I the only person in the world who likes the IE

: spinning globe?

:

:

: The NASA guy

: -----Original Message-----

: From: Brent Latham [mailto:Brent2@w...]

: Sent: Wednesday, February 13, 2002 8:16 AM

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: yeah I understand!  When I first started writing HTML I did the same!

:

: Anything to get the page to load faster :)

:

: /Brent

:

: -----Original Message-----

: From: Nigel Parker [mailto:Nigel.Parker@c...]

: Sent: 13 February 2002 13:11

: To: ASP Forms

: Subject: [asp_forms] RE: Dynamic Content?

:

:

: Thanks again Brent

:

: The vbcrlf's were only there so that the html would look nicer when viewed

: from the browser!!!

: fair point about the dot notation though!

: Nigel

:

: > -----Original Message-----

: > From: Brent Latham [SMTP:Brent2@w...]

: > Sent: 13 February 2002 13:12

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: > Yep you have it :)

: >

: > by the way you don't need the vbcrlf's

: >

: > and

: >

: > it will be quicker if you did this

: >

: > With Response

: > .write "bla bal"

: > .write "bla bal"

: > End With

: >

: > ...Much quicker :)

: >

: > Cheers

: > Brent

: >

: > -----Original Message-----

: > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > Sent: 13 February 2002 12:54

: > To: ASP Forms

: > Subject: [asp_forms] RE: Dynamic Content?

: >

: >

: > Hi Guys

: >

: > I think I've got the hang of it now...at last!

: >

: > <!-- QuotationTest.asp -->

: > <%

: >

: >  dim str500

: >  str500 = 500

: >  Response.write "<html><head><title>Quotation Test</title></head>" &

: > vbcrlf

: >  response.write "<body>"  & vbcrlf

: >  response.write "<table name=""tblOne"" width=""" & str500  & """

: > border=""1"">"  & vbcrlf

: >  response.write "<tr colspan=""2"">"  & vbcrlf

: >  response.write "<td><h1>THIS IS A TEST FOR XHTML

: > CONFORMANCE</h1></td>"  &

: > vbcrlf

: >  response.write "</tr></table>"

: >  response.write "</body></html>"

: >

: >

: > %>

: >

: > Like Brent already said, I put two quotes around each attribute, then if

: > the

: > attribute

: > was set by a variable value, insert three quotation marks each side iof

: > the

: > variable value!

: >

: > Thanks

: >

: > Nigel

: >

: > > -----Original Message-----

: > > From: Nigel Parker [SMTP:Nigel.Parker@c...]

: > > Sent: 13 February 2002 12:11

: > > To: ASP Forms

: > > Subject: [asp_forms] RE: Dynamic Content?

: > >

: > > Hi Brent (m8)

: > >

: > > Thanks for the reply.

: > > I have just thought of this....what do you think?

: > >

: > > how about using the &quot; OR the &#34; embedded within the return

: > string

: > > do you think that this would work?

: > >

: > > Nigel

: > >

: > >

: > > > -----Original Message-----

: > > > From: Brent Latham [SMTP:Brent2@w...]

: > > > Sent: 13 February 2002 12:07

: > > > To: ASP Forms

: > > > Subject: [asp_forms] RE: Dynamic Content?

: > > >

: > > > Hello m8,

: > > >

: > > > What about trying this :)

: > > >

: > > > strcontents = Replace(strContents, """, """")

: > > >

: > > > Basically if your using the Response.write statement to write your

: > html

: > > > you either enclose the attributes with a ' or you use "".

: > > >

: > > > Looks like XHTML prefers the ""!

: > > >

: > > > Cheers

: > > > Brent

: > > >

: > > > -----Original Message-----

: > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

: > > > Sent: 13 February 2002 11:53

: > > > To: ASP Forms

: > > > Subject: [asp_forms] Dynamic Content?

: > > >

: > > >

: > > > Hi guys

: > > >

: > > > This may seem like a really stupid question but...

: > > > when an ASP file is being used to create the web page content on the

: > fly

: > > > how do you ensure that any returned content is formatted correclty

: > with

: > > > regard to inserting quotation marks around content as a string is

: > being

: > > > built

: > > > in preparartion of being returned.

: > > > With the advent of XHTML standards where any tag that has a

attribute,

: > > the

: > > > attribute should be enclosed in qotation marks and in lower case.

: > > > For example:-

: > > > if a variable were to hold the return contents

: > > > (I'm pretty sure this syntax is wrong, but just go with it for now)

: > > > <%

: > > >   Dim strContents

: > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

: > > cellspacing="1"

: > > > border="0"> & _

: > > >           "<tr><td></td></tr>"  & _

: > > >                     "</table>"

: > > >   Response.Write(strContents)

: > > > %>

: > > >

: > > > So, how can the return contents be created so that it would conform

to

: > > the

: > > > XHTML standards?

: > > >

: > > > I would appreciate some help on this, please!

: > > >

: > > > Nigel

: > > >




: > > $subst('Email.Unsub').

: > > >




: > > $subst('Email.Unsub').

: > >




: > $subst('Email.Unsub').

: >




$subst('Email.Unsub').

: >




$subst('Email.Unsub').

:




:




:




:




:




:

:















Message #18 by "Daniel" <daniel@o...> on Wed, 13 Feb 2002 20:34:01 -0500
old standard..



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"Brent Latham" <Brent2@w...> wrote in message

news:145998@a..._forms...

:

: do what you want.....Must be a new standard!

:

: :)

: /Brent

:

: -----Original Message-----

: From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: Sent: 13 February 2002 16:40

: To: ASP Forms

: Subject: [asp_forms] Re: Dynamic Content?

:

:

: that's illegal (doing what I want) in most countries

: ;)

:

: -----Original Message-----

: From: Daniel [mailto:daniel@o...]

: Sent: Wednesday, February 13, 2002 11:27 AM

: To: ASP Forms

: Subject: [asp_forms] Re: Dynamic Content?

:

:

: or you can make your own image and do what you want..

:

: daniel

:

: --

: -----------------------------

: Daniel O'Dorisio

: daniel@o...

: www.odorisio-networks.com

: -----------------------------

: "Brent Latham" <Brent2@w...> wrote in message

: news:145879@a..._forms...

: :

: : Microsoft say you will have to wait until the next version anyway!

: :

: : :)

: :

: : So tell me are you going to try XP?

: :

: : Cheers

: : Brent

: :

: : -----Original Message-----

: : From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: : Sent: 13 February 2002 13:30

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : just checking to make sure everyone is awake, thats all.....

: :

: : -----Original Message-----

: : From: Brent Latham [mailto:Brent2@w...]

: : Sent: Wednesday, February 13, 2002 8:28 AM

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : This must be a trick question which I'm going to have to make my mind do

: : gymnastics to understand....

: :

: : Oops there goes the backflip! ouch!

: :

: : Ah so the real question is the IE spinning globe spins so fast that you

it

: : looks like its not spinning, and you don't like that!

: :

: : hmm, well to answer your question I don't really pay that much attention

: to

: : it so I'm not that bothered.  I could send an email to Microsoft and ask

: : them to slow it down for you if you would like?

: :

: : Cheers

: : Brent

: :

: : Reality is a problem!

: :

: : -----Original Message-----

: : From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: : Sent: 13 February 2002 13:17

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : Speed is overrated. Am I the only person in the world who likes the IE

: : spinning globe?

: :

: :

: : The NASA guy

: : -----Original Message-----

: : From: Brent Latham [mailto:Brent2@w...]

: : Sent: Wednesday, February 13, 2002 8:16 AM

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : yeah I understand!  When I first started writing HTML I did the same!

: :

: : Anything to get the page to load faster :)

: :

: : /Brent

: :

: : -----Original Message-----

: : From: Nigel Parker [mailto:Nigel.Parker@c...]

: : Sent: 13 February 2002 13:11

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : Thanks again Brent

: :

: : The vbcrlf's were only there so that the html would look nicer when

viewed

: : from the browser!!!

: : fair point about the dot notation though!

: : Nigel

: :

: : > -----Original Message-----

: : > From: Brent Latham [SMTP:Brent2@w...]

: : > Sent: 13 February 2002 13:12

: : > To: ASP Forms

: : > Subject: [asp_forms] RE: Dynamic Content?

: : >

: : > Yep you have it :)

: : >

: : > by the way you don't need the vbcrlf's

: : >

: : > and

: : >

: : > it will be quicker if you did this

: : >

: : > With Response

: : > .write "bla bal"

: : > .write "bla bal"

: : > End With

: : >

: : > ...Much quicker :)

: : >

: : > Cheers

: : > Brent

: : >

: : > -----Original Message-----

: : > From: Nigel Parker [mailto:Nigel.Parker@c...]

: : > Sent: 13 February 2002 12:54

: : > To: ASP Forms

: : > Subject: [asp_forms] RE: Dynamic Content?

: : >

: : >

: : > Hi Guys

: : >

: : > I think I've got the hang of it now...at last!

: : >

: : > <!-- QuotationTest.asp -->

: : > <%

: : >

: : >  dim str500

: : >  str500 = 500

: : >  Response.write "<html><head><title>Quotation Test</title></head>" &

: : > vbcrlf

: : >  response.write "<body>"  & vbcrlf

: : >  response.write "<table name=""tblOne"" width=""" & str500  & """

: : > border=""1"">"  & vbcrlf

: : >  response.write "<tr colspan=""2"">"  & vbcrlf

: : >  response.write "<td><h1>THIS IS A TEST FOR XHTML

: : > CONFORMANCE</h1></td>"  &

: : > vbcrlf

: : >  response.write "</tr></table>"

: : >  response.write "</body></html>"

: : >

: : >

: : > %>

: : >

: : > Like Brent already said, I put two quotes around each attribute, then

if

: : > the

: : > attribute

: : > was set by a variable value, insert three quotation marks each side

iof

: : > the

: : > variable value!

: : >

: : > Thanks

: : >

: : > Nigel

: : >

: : > > -----Original Message-----

: : > > From: Nigel Parker [SMTP:Nigel.Parker@c...]

: : > > Sent: 13 February 2002 12:11

: : > > To: ASP Forms

: : > > Subject: [asp_forms] RE: Dynamic Content?

: : > >

: : > > Hi Brent (m8)

: : > >

: : > > Thanks for the reply.

: : > > I have just thought of this....what do you think?

: : > >

: : > > how about using the &quot; OR the &#34; embedded within the return

: : > string

: : > > do you think that this would work?

: : > >

: : > > Nigel

: : > >

: : > >

: : > > > -----Original Message-----

: : > > > From: Brent Latham [SMTP:Brent2@w...]

: : > > > Sent: 13 February 2002 12:07

: : > > > To: ASP Forms

: : > > > Subject: [asp_forms] RE: Dynamic Content?

: : > > >

: : > > > Hello m8,

: : > > >

: : > > > What about trying this :)

: : > > >

: : > > > strcontents = Replace(strContents, """, """")

: : > > >

: : > > > Basically if your using the Response.write statement to write your

: : > html

: : > > > you either enclose the attributes with a ' or you use "".

: : > > >

: : > > > Looks like XHTML prefers the ""!

: : > > >

: : > > > Cheers

: : > > > Brent

: : > > >

: : > > > -----Original Message-----

: : > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

: : > > > Sent: 13 February 2002 11:53

: : > > > To: ASP Forms

: : > > > Subject: [asp_forms] Dynamic Content?

: : > > >

: : > > >

: : > > > Hi guys

: : > > >

: : > > > This may seem like a really stupid question but...

: : > > > when an ASP file is being used to create the web page content on

the

: : > fly

: : > > > how do you ensure that any returned content is formatted correclty

: : > with

: : > > > regard to inserting quotation marks around content as a string is

: : > being

: : > > > built

: : > > > in preparartion of being returned.

: : > > > With the advent of XHTML standards where any tag that has a

: attribute,

: : > > the

: : > > > attribute should be enclosed in qotation marks and in lower case.

: : > > > For example:-

: : > > > if a variable were to hold the return contents

: : > > > (I'm pretty sure this syntax is wrong, but just go with it for

now)

: : > > > <%

: : > > >   Dim strContents

: : > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

: : > > cellspacing="1"

: : > > > border="0"> & _

: : > > >           "<tr><td></td></tr>"  & _

: : > > >                     "</table>"

: : > > >   Response.Write(strContents)

: : > > > %>

: : > > >

: : > > > So, how can the return contents be created so that it would

conform

: to

: : > > the

: : > > > XHTML standards?

: : > > >

: : > > > I would appreciate some help on this, please!

: : > > >

: : > > > Nigel

: : > > >




: : > > $subst('Email.Unsub').

: : > > >




: : > > $subst('Email.Unsub').

: : > >




: : > $subst('Email.Unsub').

: : >




: $subst('Email.Unsub').

: : >




: $subst('Email.Unsub').

: :




: :




: :




: :




: :




: :

: :

:

:

:




:




:

:





Message #19 by "Daniel" <daniel@o...> on Wed, 13 Feb 2002 20:34:23 -0500
why do you think im a linux geek?? no limits.. lol..



/d



--

-----------------------------

Daniel O'Dorisio

daniel@o...

www.odorisio-networks.com

-----------------------------

"O'Hara, Elliott M" <EMOHARA@k...> wrote in message

news:145995@a..._forms...

:

: that's illegal (doing what I want) in most countries

: ;)

:

: -----Original Message-----

: From: Daniel [mailto:daniel@o...]

: Sent: Wednesday, February 13, 2002 11:27 AM

: To: ASP Forms

: Subject: [asp_forms] Re: Dynamic Content?

:

:

: or you can make your own image and do what you want..

:

: daniel

:

: --

: -----------------------------

: Daniel O'Dorisio

: daniel@o...

: www.odorisio-networks.com

: -----------------------------

: "Brent Latham" <Brent2@w...> wrote in message

: news:145879@a..._forms...

: :

: : Microsoft say you will have to wait until the next version anyway!

: :

: : :)

: :

: : So tell me are you going to try XP?

: :

: : Cheers

: : Brent

: :

: : -----Original Message-----

: : From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: : Sent: 13 February 2002 13:30

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : just checking to make sure everyone is awake, thats all.....

: :

: : -----Original Message-----

: : From: Brent Latham [mailto:Brent2@w...]

: : Sent: Wednesday, February 13, 2002 8:28 AM

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : This must be a trick question which I'm going to have to make my mind do

: : gymnastics to understand....

: :

: : Oops there goes the backflip! ouch!

: :

: : Ah so the real question is the IE spinning globe spins so fast that you

it

: : looks like its not spinning, and you don't like that!

: :

: : hmm, well to answer your question I don't really pay that much attention

: to

: : it so I'm not that bothered.  I could send an email to Microsoft and ask

: : them to slow it down for you if you would like?

: :

: : Cheers

: : Brent

: :

: : Reality is a problem!

: :

: : -----Original Message-----

: : From: O'Hara, Elliott M [mailto:EMOHARA@k...]

: : Sent: 13 February 2002 13:17

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : Speed is overrated. Am I the only person in the world who likes the IE

: : spinning globe?

: :

: :

: : The NASA guy

: : -----Original Message-----

: : From: Brent Latham [mailto:Brent2@w...]

: : Sent: Wednesday, February 13, 2002 8:16 AM

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : yeah I understand!  When I first started writing HTML I did the same!

: :

: : Anything to get the page to load faster :)

: :

: : /Brent

: :

: : -----Original Message-----

: : From: Nigel Parker [mailto:Nigel.Parker@c...]

: : Sent: 13 February 2002 13:11

: : To: ASP Forms

: : Subject: [asp_forms] RE: Dynamic Content?

: :

: :

: : Thanks again Brent

: :

: : The vbcrlf's were only there so that the html would look nicer when

viewed

: : from the browser!!!

: : fair point about the dot notation though!

: : Nigel

: :

: : > -----Original Message-----

: : > From: Brent Latham [SMTP:Brent2@w...]

: : > Sent: 13 February 2002 13:12

: : > To: ASP Forms

: : > Subject: [asp_forms] RE: Dynamic Content?

: : >

: : > Yep you have it :)

: : >

: : > by the way you don't need the vbcrlf's

: : >

: : > and

: : >

: : > it will be quicker if you did this

: : >

: : > With Response

: : > .write "bla bal"

: : > .write "bla bal"

: : > End With

: : >

: : > ...Much quicker :)

: : >

: : > Cheers

: : > Brent

: : >

: : > -----Original Message-----

: : > From: Nigel Parker [mailto:Nigel.Parker@c...]

: : > Sent: 13 February 2002 12:54

: : > To: ASP Forms

: : > Subject: [asp_forms] RE: Dynamic Content?

: : >

: : >

: : > Hi Guys

: : >

: : > I think I've got the hang of it now...at last!

: : >

: : > <!-- QuotationTest.asp -->

: : > <%

: : >

: : >  dim str500

: : >  str500 = 500

: : >  Response.write "<html><head><title>Quotation Test</title></head>" &

: : > vbcrlf

: : >  response.write "<body>"  & vbcrlf

: : >  response.write "<table name=""tblOne"" width=""" & str500  & """

: : > border=""1"">"  & vbcrlf

: : >  response.write "<tr colspan=""2"">"  & vbcrlf

: : >  response.write "<td><h1>THIS IS A TEST FOR XHTML

: : > CONFORMANCE</h1></td>"  &

: : > vbcrlf

: : >  response.write "</tr></table>"

: : >  response.write "</body></html>"

: : >

: : >

: : > %>

: : >

: : > Like Brent already said, I put two quotes around each attribute, then

if

: : > the

: : > attribute

: : > was set by a variable value, insert three quotation marks each side

iof

: : > the

: : > variable value!

: : >

: : > Thanks

: : >

: : > Nigel

: : >

: : > > -----Original Message-----

: : > > From: Nigel Parker [SMTP:Nigel.Parker@c...]

: : > > Sent: 13 February 2002 12:11

: : > > To: ASP Forms

: : > > Subject: [asp_forms] RE: Dynamic Content?

: : > >

: : > > Hi Brent (m8)

: : > >

: : > > Thanks for the reply.

: : > > I have just thought of this....what do you think?

: : > >

: : > > how about using the &quot; OR the &#34; embedded within the return

: : > string

: : > > do you think that this would work?

: : > >

: : > > Nigel

: : > >

: : > >

: : > > > -----Original Message-----

: : > > > From: Brent Latham [SMTP:Brent2@w...]

: : > > > Sent: 13 February 2002 12:07

: : > > > To: ASP Forms

: : > > > Subject: [asp_forms] RE: Dynamic Content?

: : > > >

: : > > > Hello m8,

: : > > >

: : > > > What about trying this :)

: : > > >

: : > > > strcontents = Replace(strContents, """, """")

: : > > >

: : > > > Basically if your using the Response.write statement to write your

: : > html

: : > > > you either enclose the attributes with a ' or you use "".

: : > > >

: : > > > Looks like XHTML prefers the ""!

: : > > >

: : > > > Cheers

: : > > > Brent

: : > > >

: : > > > -----Original Message-----

: : > > > From: Nigel Parker [mailto:Nigel.Parker@c...]

: : > > > Sent: 13 February 2002 11:53

: : > > > To: ASP Forms

: : > > > Subject: [asp_forms] Dynamic Content?

: : > > >

: : > > >

: : > > > Hi guys

: : > > >

: : > > > This may seem like a really stupid question but...

: : > > > when an ASP file is being used to create the web page content on

the

: : > fly

: : > > > how do you ensure that any returned content is formatted correclty

: : > with

: : > > > regard to inserting quotation marks around content as a string is

: : > being

: : > > > built

: : > > > in preparartion of being returned.

: : > > > With the advent of XHTML standards where any tag that has a

: attribute,

: : > > the

: : > > > attribute should be enclosed in qotation marks and in lower case.

: : > > > For example:-

: : > > > if a variable were to hold the return contents

: : > > > (I'm pretty sure this syntax is wrong, but just go with it for

now)

: : > > > <%

: : > > >   Dim strContents

: : > > >   strContents = "<table bgcolor="#ffffcc" cellpadding="1"

: : > > cellspacing="1"

: : > > > border="0"> & _

: : > > >           "<tr><td></td></tr>"  & _

: : > > >                     "</table>"

: : > > >   Response.Write(strContents)

: : > > > %>

: : > > >

: : > > > So, how can the return contents be created so that it would

conform

: to

: : > > the

: : > > > XHTML standards?

: : > > >

: : > > > I would appreciate some help on this, please!

: : > > >

: : > > > Nigel

: : > > >




: : > > $subst('Email.Unsub').

: : > > >




: : > > $subst('Email.Unsub').

: : > >




: : > $subst('Email.Unsub').

: : >




: $subst('Email.Unsub').

: : >




: $subst('Email.Unsub').

: :




: :




: :




: :




: :




: :

: :

:

:

:




:

:






  Return to Index