xsl-list
[Top] [All Lists]

Re: [xsl] [OT]

2008-02-29 08:47:02
Hi David,
  Thanks a lot for your remarks. I agree to your view points.

Your explanation clears up my mind regarding this topic ...

On Fri, Feb 29, 2008 at 5:05 PM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
it can make a lot of difference, if for example you have some elements
containing dates and you want to compare the dates (as dates) with some
other dates, if you extract the string value then it won't work and
you'll have to explictly cast the string back to a date, but if you
extract the data() it will be a date.  Of course in many situations you
select the element node rather than the text node or string value or
data() so that often this typing will be inferred, but data() is still
useful sometimes.  Just as text() is still useful sometimes.

David


-- 
Regards,
Mukul Gandhi

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