[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: number different nodes
Hi Markus,
At 04:18 PM 12/2/2003, you wrote: I am having a trouble with numbering different childs from a node "form". I tried but I found no possibility. <xsl:number level="multiple" count="form|???form::child*???" /> Try count="form | form/*" It will count the form elements and their direct children (but not their deeper descendants). The XPath "form/*" is short for "child::form/child::*". As a pattern, it will match any child of a form (that itself is a child of something, which all of them are). Cheers, Wendell <form> <OneQuest> <Option> <CheckBox> <Gap> ... </form> <form> <Option> <OneQuest> <Gap> <CheckBox> ... </form> ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|