XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Automatic Numbering, Part 1
Subject: xsl:number with sorting
Date: 2003-03-09 07:05:28
From: Andrey Skvortsov

Construction suggested by
David Neumann dosen't work on "multilevel"
numbering:
<Lev1>
<Lev2>
<Lev3 x="y"/>
</Lev2>
<Lev2>
<Lev3 x="z"/>
</Lev2>
</Lev1>
xsl:
<template for="Lev1"/>
<template for="Lev2"/>
<template for="Lev3"/>


so I want to number Lev3 and sort on Lev2 by "x"
attribute.
How I can acomplish this?





Previous Message Previous Message   Next Message No Next Message


Titles Only Titles Only Newest First
  • xsl:number with sorting
    2003-03-09 11:33:50 Bob DuCharme [Reply]

    I don't have a quick answer off the top of my head for this one. I've found that the XSL-list at http://www.mulberrytech.com/xsl/xsl-list/ is the place where XSLT questions will get the quickest answers, so I recommend that you post it there.

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938