xsl-list
[Top] [All Lists]

Re: [xsl] Temporary tree elements and namespaces

2008-02-13 18:02:17

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. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--