when using -//W3C//DTD XHTML 1.0 Strict//EN the html element has a fixed xmlns attribute. Here is the def from the dtd:
<!ELEMENT html (head, body)> <!ATTLIST html %i18n; id ID #IMPLIED xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml' > So you don't need it. just define the doctype. Cheers, Ron Argo Priivits wrote:
Hi, In Tapestry 3, the Shell component allows informal parameters, but in Tapestry 4 the informal parameters of Shell component are forbidden. So in Tapestry 3 was possible to output such html like <html xmlns="http://www.w3.org/1999/xhtml"> but how I output such xhtml attribute (xmlns) in Tapestry 4? Generally is there a way to output following xhtml in Tapestry 4 ? <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Title</title> </head> <body> </body> </html> -- Argo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
