View Single Post
  #2 (permalink)  
Old January 4th, 2011, 06:35 PM
Old Pedant Old Pedant is offline
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

Ummm...your XML isn't at all valid.

These lines:
Code:
act.WriteLine("<photo image="""& rs("pImage") )
act.WriteLine("bigimage=""" & rs("pImage")&"")
act.WriteLine("lightboxinfo=" & rs("pname"))
act.WriteLine("url=" & rs("pIid"))
would end up writing out something such as
Code:
<photo image="xyz.jpg
bigimage="big_xyz.jpg
lightboxinfo=xyz
url=www.foo.com
for each record. That doesn't BEGIN to look like valid XML.

Maybe you need to show us what your valid XML *should* look like and we can help you create it from ASP??
Reply With Quote