Subject: RE: [xsl] Empty namespace attributes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 30 Apr 2006 12:31:40 +0100 |
This has come up three or four times in the last couple of weeks. Make sure when you generate an element that it's in the right namespace, and the namespace declarations will look after themselves. For a literal result element, if the LRE is in namespace N in the stylesheet then it will still be in namespace N in the result document (even if its parent is in a different namespace). For elements created using xsl:element, use the namespace attribute to put them in the right namespace. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Kerry Kobashi [mailto:kkobashi@xxxxxxxxxxx] > Sent: 29 April 2006 23:55 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] Empty namespace attributes > > How do I get rid of empty namespace attributes generated > after transformation by the processor? > I am using ArchiTag's XRay and my tags are getting empty xmlns="" > attributes placed after each one like so: > > <div class="company" xmlns=""> > Company name here > </div> > <div id="mainmenu" xmlns=""> > Home | About > </div>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Empty namespace attribute, Joe Fawcett | Thread | [xsl] chekcing attribute existance , jd list |
Re: Re: [xsl] Get Variables in XSL , miouge@xxxxxxxxxxx | Date | Re: [xsl] sum up float values probl, Markus Gamperl |
Month |