Click here to Skip to main content
16,006,845 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionWhat wrong with this clause?? Pin
Tida13-Aug-02 9:51
Tida13-Aug-02 9:51 
AnswerRe: What wrong with this clause?? Pin
Christopher Lord14-Aug-02 16:43
Christopher Lord14-Aug-02 16:43 
GeneralRe: What wrong with this clause?? Pin
Tida15-Aug-02 2:55
Tida15-Aug-02 2:55 
AnswerRe: What wrong with this clause?? Pin
Ranjan Banerji15-Aug-02 3:33
Ranjan Banerji15-Aug-02 3:33 
QuestionSchema: exclude element from occuring within itself? Pin
Jonnie White13-Aug-02 1:49
Jonnie White13-Aug-02 1:49 
GeneralEmbedded html Pin
Lilian Chan-Grant6-Aug-02 10:03
Lilian Chan-Grant6-Aug-02 10:03 
GeneralRe: Embedded html Pin
Lilian Chan-Grant7-Aug-02 9:28
Lilian Chan-Grant7-Aug-02 9:28 
Generalexslt set:distinct template order Pin
Chris_D5-Aug-02 6:30
Chris_D5-Aug-02 6:30 
Hi, I have the following XSL code:

The set:distinct template from exslt.org:

<xsl:template name="set:distinct">
<xsl:param name="nodes" select="/.." />
<xsl:choose>
<xsl:when test="not($nodes)" />
<xsl:otherwise>
<xsl:apply-templates select="$nodes[1][not(. = $nodes[position() > 1])]" mode="set:distinct"/>
<xsl:call-template name="set:distinct">
<xsl:with-param name="nodes" select="$nodes[position() > 1]" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

and the following call to it:

<xsl:variable name="distinctVnames">
<xsl:call-template name="set:distinct">
<xsl:with-param name="nodes" select="//@vname" />
</xsl:call-template>
</xsl:variable>

After this the call variable value is a string with all distinct vname attributes of my xml document. thats fine. But the vname attributes appear in the result string in document order.

Does anybody have an idea how to change this in order to obtain the vname attributes in alphabetical order? Thank you very much!

QuestionXML Schema for Office Web Component ver 9 and 10? Pin
Dmitry Novikov2-Aug-02 8:03
Dmitry Novikov2-Aug-02 8:03 
QuestionVARIANT to XML? Pin
mali1-Aug-02 19:34
mali1-Aug-02 19:34 
AnswerRe: VARIANT to XML? Pin
Ranjan Banerji2-Aug-02 5:05
Ranjan Banerji2-Aug-02 5:05 
GeneralWeb Services Implementation Guide Pin
Stanford Powers31-Jul-02 18:27
sussStanford Powers31-Jul-02 18:27 
GeneralLoadxmlerror Pin
suresh_sathya28-Jul-02 18:53
suresh_sathya28-Jul-02 18:53 
GeneralRe: Loadxmlerror Pin
Roman Nurik28-Jul-02 20:32
Roman Nurik28-Jul-02 20:32 
GeneralRe: Loadxmlerror Pin
Colin Leitner29-Jul-02 14:15
Colin Leitner29-Jul-02 14:15 
GeneralRe: Loadxmlerror Pin
Domenic Denicola31-Jul-02 10:14
Domenic Denicola31-Jul-02 10:14 
GeneralRe: Loadxmlerror Pin
Colin Leitner1-Aug-02 10:14
Colin Leitner1-Aug-02 10:14 
General"Empty" XML Document Pin
kenlefeb24-Jul-02 3:14
kenlefeb24-Jul-02 3:14 
GeneralRendering XML using JSP Pin
Hitu22-Jul-02 18:58
Hitu22-Jul-02 18:58 
GeneralRe: Rendering XML using JSP Pin
Sharad Ganesh29-Jul-02 19:33
Sharad Ganesh29-Jul-02 19:33 
GeneralRe: Rendering XML using JSP Pin
1-Aug-02 9:57
suss1-Aug-02 9:57 
QuestionHow to create a xml schema that maps to a file directory tree structure Pin
22-Jul-02 12:43
suss22-Jul-02 12:43 
GeneralUsing SSL with XML POST Pin
Sid Forcier22-Jul-02 8:02
Sid Forcier22-Jul-02 8:02 
GeneralBeginner XSL problem Pin
tomiga17-Jul-02 1:49
tomiga17-Jul-02 1:49 
GeneralRe: Beginner XSL problem Pin
MS le Roux17-Jul-02 5:26
MS le Roux17-Jul-02 5:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.