Get rid of the
Offset = <xsl:value-of select="../@offset"/>
as the reg for 10 and 20 don't have a parent with an offset attribute. If
you do need the offset when it is present, then you may check if it exists
first before selecting.
That is the whole crux of the problem. I need to add the nodes to the source
tree.
Also, I,m using Saxon8B (xslt 2.0).
Anupam.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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>
--~--