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

Re: Temporary tree elements and namespaces

Subject: Re: Temporary tree elements and namespaces
From: "João Cruz Morais" <spiderfish@xxxxxxxxx>
Date: Thu, 14 Feb 2008 01:28:29 +0000
Re:  Temporary tree elements and namespaces
Thanks David,

I think I fully understand now, and the point of
xpath-default-namespace suddenly is a lot clearer too :)


On Feb 14, 2008 1:01 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> > My guess is that both a and b are "binded" to a void namespace and
> I don't see any elements or variables named a or b so I'm not sure what
> you mean here, however
> here
>       <xsl:element name="tax">
>         <xsl:element name="value">
> you create elements tax and value in the default namespace for the
> stylesheet
> but here
> $taxes/value
> you are looking for an elemet value in no-namepsace.
> If you want to create an element in a namespace then to query that
> element you need to either make that the default namespace for xpath
> or bind that namespace to a prefix and use $taxes/excel:value
> here though as I think Michael has already said it seems that you don't
> really want to generate a list of elements, it woul dbe sufficient (ad
> more efficient) to generate a lit of numbers.
> David
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Joco Cruz Morais

Current Thread


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.
First Name
Last Name
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.