xsl-list
[Top] [All Lists]

RE: [xsl] avoiding NaN-result in string processing due to missing elements

2008-12-01 12:11:40
But I think I would write:

select="rdf:Description/(tiff:XResolution | @tiff:XResolution)/
  format-number(number(substring-before(.,'/'),
number(substring-after(.,'/'))"


There should have been a "div" in there, of course...

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--

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