Subject: Re: [xsl] number different nodes From: "Markus Hanel" <markus.hanel@xxxxxx> Date: Wed, 3 Dec 2003 16:41:42 +0100 (MET) |
Thank you, i have tested so long but could not get a result. Markus 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 > -- +++ GMX - die erste Adresse für Mail, Message, More +++ Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] number different nodes, Wendell Piez | Thread | Re: [xsl] number different nodes, Wendell Piez |
Re: [xsl] XPath using descendant an, David Carlisle | Date | RE: [xsl] A MySQL heads-up., Mulberry Technologie |
Month |