This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Can't Obtain Results




This is a repost to my previous message, but with spaces in the tags so they aren't dropped by my mail client.  Also I have added an example of the code I have been trying to use.

Hello, 

Here's my the situation: 

I have an XML or tree the looks like this: 


  
    some text
    some text
    some text
    some text
  
  
    SOMETEXT
    SOMETEXT
     SOMETEXT
     SOMETEXT
  



I am passing in a parameter called outlet 

If the outlet parameter is "cb" - after transformation I want it to look like this: 


  
    some text
    SOMETEXT
    SOMETEXT
     SOMETEXT
     SOMETEXT
    some text
  


If the outlet parameter is "default" - after transformation I want it to look like this: 


  
    some text
    some text
    some text
    some text
  


I have tried several different approches with for-each statements etc, but have been unable to achieve my results.  This is my most recent attempt and I get close, but I can't figure out how to determine if I have already found a match.


  cb
  
  
    
    
      
        
          
        
        
          
        
      
    
  



Thanks 

Lindy 


------------------------------------------------
Visit iWon.com - the Internet's largest guaranteed cash giveaway!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]