Re: [xml] sort functions



Hi,
        Hi

Are there any sort functions in libxml2? I want to sort the record according to category. Thank you.

        It's a guess, I've never tried it but It should my first
try if I needed to sort something :)
Since libxml2 provides xmlStrcmp, You can try sorting your record with libc's qsort.
        Another approach maybe using XSLT's <xsl:sort> element.

--

[]'s
Lucas Brasilino
brasilino recife pe gov br
http://www.recife.pe.gov.br
Emprel -        Empresa Municipal de Informatica (pt_BR)
                Municipal Computing Enterprise (en_US)
Recife - Pernambuco - Brasil
Fone: +55-81-34167078




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]