xsl-list
[Top] [All Lists]

RE: Selecting a node based on two sub-element values

2005-02-15 09:38:43

Can I then infer that I should refactor this test expression

      org_list/org_code[(_at_)type='APPR' and text()='ANSI']

to

      org_list[org_code(_at_)type='APPR' and org_code='ANSI']


Better, I think, is

  org_list/org_code[(_at_)type='APPR' and .='ANSI']

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>