ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
Re: [exslt] NUMBERING ELEMENTS
by Mike Brown other posts by this author
Mar 20 2002 7:57AM messages near this date
[exslt] NUMBERING ELEMENTS | Re: [exslt] exslt functions problem
Harikrishna_B wrote:
>  if I want to give my own numbers to the elements and wanted to show them
>  in the html output?
>  Like following:
>            Customer 0
>                       Number 1
>                               Digit 2
>            Location 0
>                        Place 1
>                                Content 2
>  Because they are not continuously placed in the xml file.Hierarchy is the
>  same in the xml file.Some middle elements may come.I have to skip them. 
>  How to do that?

The EXSLT list is not the proper forum for this. The EXSLT list is only for
discussion of a standard library of extension functions + extension elements
for XSLT, as described at exslt.org.

Instead, ask your question on xsl-list, and when you do, please give a more
specific example of the XML you have and the output you want. Explain how you
go about determining the numbers. The example you gave makes it look like the
numbers are just a count of the number of ancestor elements
(count(ancestor::*)), but it is hard to say without seeing your XML.

If you're not on xsl-list, info about it can be found at
http://www.mulberrytech.com/xsl/xsl-list/index.html

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  personal: http://hyperreal.org/~mike/
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
Harikrishna_B
Mike Brown

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved