Subject: Re: Just Not Getting It From: carlton.e.noles@xxxxxxxxxxxxxxxxxxxxx Date: Wed, 2 Sep 1998 09:50:11 -0400 |
Let me see...if I enter rules that select element starting at the level in the tree that I wish I won't get the higher levels? in my XSL I only go as far as the team- owner but i am still getting the player name and position showing right after the name. Here are the rules in question. And below is the corrected XML structure. <rule> <target-element type="DIVISION"/> <P color="Red"><children><select-element><target-element type="Team"/></select-element> <select-element><target-element type="Owner"/></select-element> </children></P> </rule> <rule> <target-element type="TEAM"/> <b><br/><children/></b> </rule> <rule> <target-element type="OWNER"/> <span color= "gold"> - <children/></span> </rule> > league > +division > +team > +owner > +player > +player-name > +position On Tue, 1 Sep 1998 papresco@xxxxxxxxxxxxxxxx wrote: On Tue, 1 Sep 1998 carlton.e.noles@xxxxxxxxxxxxxxxxxxxxx wrote: > I suppose i just don't quite have the complete handle on XSL. > > I have an XML doc arranged as follows > > league > +division > +team > +owner > +player > +player-name > +position > > I can display all levels with no problem. what I would like to do is > display specific levels like: > team-name and owner only OR > team-name and players for a specific team OR > a list of all players in the league If the only thing that league displays is division, and the only thing that division displays is team, and the only thing that team displays is team-name and the only thing that team-name displays is player (why is player in team-name?) Then you will, in essence, be displaying a list of all of the players in the league. Do you see what I mean? Paul Prescod XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list *******************Internet Email Confidentiality Footer******************* Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my firm or employer unless otherwise indicated by an authorized representative independent of this message. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Just Not Getting It, Paul Prescod | Thread | XPointers and XSL Patterns, James Tauber |
Re: FW: XSL - Loss to braille style, James Clark | Date | Re: EcmaScript, gone?, keshlam |
Month |