Re: [Hypercontent-users] xmlns=" "
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-09-28 12:47:14
|
Hi Carl, I think the problem is that you're not being consistent with the use of namespaces - the xmlns="" indicates the div is seen as belonging to no namespace. You either need to associate the xhtml namespace with each html element using xmlns="http://www.w3.org/1999/xhtml" or a prefix (e.g. xhtml:div), or you can set the default namespace for the entire XSL template to XHTML, e.g. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" etc. Cheers, Alex On Sep 28, 2007, at 6:31 AM, Carl P Barrow wrote: > Hi Alex, > > > > Is there anything I can do about the email bellow? > > > > Cheers > > Car; > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > From: hyp...@li... > [mailto:hyp...@li...] On Behalf > Of Carl P Barrow > Sent: 11 September 2007 16:26 > To: hyp...@li... > Subject: [Hypercontent-users] xmlns=" " > > > > Hi Alex, > > Since I am now outputting at XHTML there have been a few things > that that I've had to change in the XSL, especially to get things > working in IE. Not major problems, just a matter of finding what > need changing. The one thing I can't understand is that there seems > to be xmlns="" put into some tags that don't have attributes. like > <div xmlns=""> This doesn't stop it from working but does give a > validation error: > > > This started happening when I added <html xmlns="http://www.w3.org/ > 1999/xhtml" xml:lang="en" lang="en"> instead of just <html> > > Is there a way I can sort this out? > > Cheers > Carl > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > *******************--------------------------------------------------- > ---------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |