#4 Functions?

closed
None
5
2005-04-26
2005-04-26
Anonymous
No

Are any functions implemented? I am trying to use the
function "position()" but it doesn't seem to work.

Basically, I need a way to get the first or last
element in a node list. Is this possible with the
current implementation of XML::XSLT?

Thanks.
Mike

Discussion

  • Jonathan Stowe
    Jonathan Stowe
    2005-04-26

    • assigned_to: nobody --> gellyfish
    • status: open --> closed
     
  • Jonathan Stowe
    Jonathan Stowe
    2005-04-26

    Logged In: YES
    user_id=313586

    Can you give me an example of the XSLT that you are trying
    and a snippet of the expected output, currently XML::XSLT
    doesn't appear to implement position().

     
  • MikeMazz
    MikeMazz
    2005-04-26

    Logged In: YES
    user_id=1267122

    I've changed the XSLT so many times its not worth sending
    you the snippet.
    I guess all I need is to know if there is a way to get the
    largest value within a node list? I would normally do it using
    sort but from the docs I noticed that is not supported yet.