Subject: RE: [xsl] xmlns="" ?? From: "Daniel Joshua" <daniel.joshua@xxxxxxxxxxxx> Date: Tue, 1 Jun 2004 11:28:54 +0800 |
> By the way there's no real need to do: > > <xsl:element name="table"> > > you can just as easily do > > <table> Side tracking a bit, is there any differences in the above two? If so, when do we use the former? Would the later be more optimised, as the XSLT processor does not need to parse it and then convert it? Or is the difference purely cosmetic? Regards, Daniel -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Friday, 30 April, 2004 7:01 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] xmlns="" ?? You want all literal result elements in the stylesheet to be in the xhtml namespace not no-namespace so mobe xmlns="http://www.w3.org/1999/xhtml" from here <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> to here <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> so it looks like <xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> You will need similar declarations in the stylesheets ../xsl/libTemporal.xsl etc that you are including if thise stylesheets also have literal elements that you want to be xhtml. By the way there's no real need to do: <xsl:element name="table"> you can just as easily do <table> David
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Advise wanted., Michael Kay | Thread | [xsl] Text markup for web forums, e, Daniel Joshua |
Advise wanted., shishir . srivastava | Date | [xsl] Text markup for web forums, e, Daniel Joshua |
Month |