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

Re: namespace axis

Subject: Re: namespace axis
From: Nick Browne <NickBrowne@xxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 18:18:24 +0100
iso 8859 1 axis
Julian Reschke wrote:

> Hi.
>
> I was trying an XSLT where I needed the namespace axis and found that both
> MSXML (May release) and XT do not support it. Right now I'm doing my tests
> with Saxon. How about the other XSLT engines?

On Oracle v2.0.2.8, the stylesheet :

<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 <xsl:template match="/|*">
  <xsl:for-each select="namespace::*">
   <xsl:value-of select="."/>
 </xsl:for-each>
<xsl:apply-templates/>
etc.

Using as input :
<?xml version="1.0" encoding="ISO-8859-1"?>
<rn:root xmlns:rn="rn-namespace">
</rn:root>

Gave : XSL-1035: Axis 'namespace' not found

I guess that's a 'No' then ! (I presume my test was valid though the error
suggests it didn't get that far.)

Would the local-name(),name() or namespace() methods give the results you
need, perhaps working up through the ancestor axis ?

Nick Browne
Slipstone Ltd





 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.