Firefox 3.5.2
Funnily enough, I can't right click to view source, but Ctrl+U works. The first lines are: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns:lift="http://liftweb.net/" xmlns="http://www.w3.org/1999/ xhtml"><head> I don't see anything funny there. Paul. On Aug 5, 10:23 pm, Naftoli Gugenheim <naftoli...@gmail.com> wrote: > Which browser gives that error? What do you see in View Source? > > ------------------------------------- > > pabraham<paulabraham...@googlemail.com> wrote: > > I've added <lift:children> to my index.html file and now get: > > XML Parsing Error: junk after document element > Location:http://192.168.96.150:8080/ > Line Number 113, Column 1:<html xmlns:lift="http://liftweb.net/" > xmlns="http://www.w3.org/1999/xhtml"> > ^ > > Any ideas? > > In the meantime I can look at <lift:with-param>. > > Paul. > > On 5 Aug, 22:08, Naftoli Gugenheim <naftoli...@gmail.com> wrote: > > > XML documents need to have a single top-level element. Surround the whole > > index.html with lift:children. > > > ------------------------------------- > > > pabraham<paulabraham...@googlemail.com> wrote: > > > Hello there, > > > Is it possible for an HTML file to have more than one lift:surround > > tag? > > > For example, default.html contains > > > ... > > <lift:bind name="content"> > > ... > > <lift:bind name="sidebar"> > > ... > > > My index.html contains > > > <lift:surround with="default" at="content"> > > <p>This is some content</p> > > </lift:surround> > > <lift:surround with="default" at="sidebar"> > > <p>This is some content in the sidebar</p> > > </lift:surround> > > > From my fruitless attempts, it seems that the answer to my question is > > no, but is there any way that I can get this sort of thing to work? > > > Thanks. > > > Paul. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---