This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sorting related issue



Hi List,

My XML looks something like below

<ErrorMessages>
     <ErrorMessage>
          <name>a</name>
          <type>1</type>
          <details>abcd</details>
     </ErrorMessage>
     .
     .
     .
     <ErrorMessage>
          .
          .
          .
     </ErrorMessage>
</ErrorMessages>

I would like to sort my XML on <name> and <type> on the Client side and do
things like do not display "name" if the next "ErrorMessage" record also
has the same "name".

I tried checking using "preceding-sibling" but that uses the "document
order". I am sure this is a trivial issue, but I need some clue / pointers
/ direction.

I am using MSXML3 on the Client side (IE browser only).

Any response would be highly appreciated.

Thanks,
Sanjay



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]