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

Re: Saxon removes namespace in XHTML output

Subject: Re: Saxon removes namespace in XHTML output
From: Owen Rees <owen.rees@xxxxxx>
Date: Tue, 22 Aug 2006 17:01:36 +0100
Re:  Saxon removes namespace in XHTML output
--On Monday, August 21, 2006 23:52:19 -0700 M 1879 wrote:

<xsl:template match="description" mode="multi-descr">
     <p><xsl:apply-templates /></p>
</xsl:template>

Any idea what causes this? I confess that I am using a XSLT 1.0
stylesheet that uses an XSLT 2.0 element: (it works).

The p element inside the template is not inside anything that declares the default namespace so it is in no namespace. It retains its own (lack of a) namespace when the template is applied so is still in no namespace, and has to be declared as such, when the output is produced.


--
Owen Rees <owen.rees@xxxxxx>
Hewlett Packard Laboratories, Bristol, UK
tel: +44 117 312 9439 fax: +44 117 312 8924

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.