[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xmlns="" ??

Subject: RE: xmlns="" ??
From: "Daniel Joshua" <daniel.joshua@xxxxxxxxxxxx>
Date: Tue, 1 Jun 2004 11:28:54 +0800
xmlns xsl
> 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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.