[xsl] min & max of numeric sub-strings

Subject: [xsl] min & max of numeric sub-strings
From: Adrian <a.hobson@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Nov 2002 17:33:37 +1100
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


Current Thread