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

RE: generate XHTML header without causing xmlns attrib

Subject: RE: generate XHTML header without causing xmlns attributes ine.g. <table>?
From: Jarkko Moilanen <Jarkko.Moilanen@xxxxxx>
Date: Fri, 17 Oct 2003 15:09:18 +0300 (EEST)
xhtml header
On Fri, 17 Oct 2003, Flemming Jønsson wrote:

> Hi Michael,
> Thanks for your reply.
>
> >
> > The problem isn't the xmlns="" declarations, the problem is
> > that you have put the <table> element is in the wrong
> > namespace (actually, in no namespace). Show us how you
> > produce the table element. If you put the element in the
> > right namespace, the namespace declarations will look after
> > themselves.
> >
> > Michael Kay
> >
>
> I thought I had to declare the name space in the xsl:template line like this:
>
> <xsl:template name="exparameters" match="EX_PARAMETERS" xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format">
>   <table border="1" cellpadding="3" cellspacing="0" class="parameters" >
>     <thead>
>       <tr>
>         ...
>

Well, normally these kind of declarations are done in the stylesheet
level.

Jarkko

> But the resulting table tag in XHTML is:
> <table xmlns="" class="parameters" cellspacing="0" cellpadding="3" border="1">
>   <thead>
>     <tr>
>        ...
>
> How do I go about setting the correct name space then?
>
> Regards,
> Flemming Joensson
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


****************************************************************
Jarkko Moilanen          "The box said that is needs
Project Manager           Windows 95 or better... So I
jm60697 at uta.fi         installed Linux."
www.uta.fi/~jm60697
****************************************************************
* ITCM | Information Technology and Crisis Management
* http://www.itcm.org
****************************************************************






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.