nysus has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I have the following bit of code:
           <xsl:for-each select="//vendor" >
           <xsl:sort select="vendor_name" data-type="text" />
                

<xsl:value-of select="vendor_name"/>

</xsl:for-each>
When I run my XML doc through it, however, the order of the vendor names are not alphabetized. They don't appear in the order they are in the document but they certainly aren't alphabetized. I'm running IE 6.0 on a Windows XP machine. Any help would be greatly...

Oh, wait, sorry. I thought this was the Seekers of XML Wisdom thread. Note: Have a happy April Fool's day!

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop";
$nysus = $PM . $MCF;
Click here if you love Perl Monks

  • Comment on Why isn't this XLS document sorting my XML document properly?

Replies are listed 'Best First'.
Re: Why isn't this XLS document sorting my XML document properly?
by Cody Pendant (Prior) on Apr 02, 2003 at 01:27 UTC
    Update. Misread the question, made a fool of myself. Please ignore. --
    “Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
    M-J D
      Well, at least someone fell for it. Hehe. That was my one and only April Fool's joke.

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop";
      $nysus = $PM . $MCF;
      Click here if you love Perl Monks

        Where I live, it's been April second for nearly 12 hours, so I think I should get to exact some kind of retribution on you?
        --
        “Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
        M-J D