Subject: Re: [xsl] Temporary tree elements and namespaces From: "João Cruz Morais" <spiderfish@xxxxxxxxx> Date: Thu, 14 Feb 2008 01:28:29 +0000 |
Thanks David, I think I fully understand now, and the point of xpath-default-namespace suddenly is a lot clearer too :) Joco 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Temporary tree elements a, David Carlisle | Thread | Re: [xsl] Temporary tree elements a, João Cruz Morais |
Re: [xsl] Temporary tree elements a, David Carlisle | Date | Re: [xsl] Temporary tree elements a, João Cruz Morais |
Month |