|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 :) 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








