Ross,

You cannot remove this namespace as it is needed to make it valid XHTML -
Scala XML processing uses a strict xml processer to ensure that the markup
is valid and complete before outputting it. Because we use <lift:mybound />
the namespace is required for the parser to pass that markup xml as valid I
do believe.

Tim

On 27/02/2009 13:40, "rossputin" <[email protected]> wrote:

> 
> Hi.
> 
> Sure, its something I do to simplify as much as possible any
> unnecessary tags or attributes.  I suppose it is a practice I picked
> up while using Cocoon.  Ultimately, I just want the purest xhtml
> output possible, hopefully revealing as little about the platform
> which produced it as possible.
> 
> Ross.
> 
> 
> On Feb 27, 1:31 pm, Viktor Klang <[email protected]> wrote:
>> May I ask why?
>> 
>> Cheers,
>> Viktor
>> 
>> 
>> 
>> 
>> 
>> On Fri, Feb 27, 2009 at 1:23 PM, rossputin <[email protected]> wrote:
>> 
>>> Hi.
>> 
>>> I am using lift 1.0.  I was hoping to remove the  'xmlns:lift="http://
>>> liftweb.net/"' element from :
>> 
>>> <?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">
>> 
>>> Thanks.
>> 
>>> Ross.
>> 
>>> On Feb 27, 12:18 pm, Timothy Perrett <[email protected]> wrote:
>>>> Hey Ross,
>> 
>>>> Which element are you referring to? Head items? What version of lift are
>>> you
>>>> using? (you can find out by looking in pom.xml under the lift-*
>>>> dependencies)
>> 
>>>> Thanks
>> 
>>>> Tim
>> 
>>>> On 27/02/2009 11:36, "rossputin" <[email protected]> wrote:
>> 
>>>>> Hi.
>> 
>>>>> I must admit I have not worked my way through the book yet, but I was
>>>>> wondering if it is possible to remove the xmlns:lift="http://
>>>>> liftweb.net/" attribute on the html element in the rendered page?
>> 
>>>>> Thanks.
>> 
>>>>> Ross.
>> 
>> --
>> Viktor Klang
>> Senior Systems Analyst
> 
> > 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to