xsl-list
[Top] [All Lists]

Re: min & max of numeric sub-strings

2002-11-03 23:50:17
Hi!

You might want to consider reading this EXSL pages:

http://www.exslt.org/math/index.html

Cheers,
Jarkko


Lainaus Adrian <a(_dot_)hobson(_at_)student(_dot_)unsw(_dot_)edu(_dot_)au>:

Hello

I am trying to find the minimum and maximum values for the X and Y
values
within the start|end elements of all the <Line>s in the XML file (ie.
minX,
minY, maxX, maxY).  Does anyone have a simple/elegant solution or any
suggestions?

Thankyou
Adrian

<Parcels>
  <Parcel name="801" area="554.065">
    <CoordGeom>
      <Line>
        <Start>33505.95684580 31533.46501647</Start>
        <End>33516.39685788 31545.58962565</End>
      </Line>
      <Line>
        <Start>33516.39685788 31545.58962565</Start>
        <End>33542.33349683 31523.25663165</End>
      </Line>
      ...
    </CoordGeom>
  </Parcel>
  <Parcel name="802" area="529.463">
    ...
  </Parcel>
  ...
</Parcels>




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





****************************************************************
Jarkko Moilanen          "Erehtyminen on inhimillista, 
Researcher/ ITCM         mutta todella suuret mokat 
jm60697(_at_)uta(_dot_)fi           vaativat tietokoneen käyttöä."         
www.uta.fi/~jm60697                                           
GSM: +358 50 3766 927                                         
****************************************************************
* ITCM | Information Technology and Crisis Management            
* http://www.itcm.org                                            
****************************************************************

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>