Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] xmlns="" ?? >Thread Next - [xsl] Text markup for web forums, eg. [b]bold text[/b] RE: [xsl] xmlns="" ??To: Date: 6/1/2004 7:29:00 PM > 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
