|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xmlns="" ??
> 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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








