xsl-list
[Top] [All Lists]

Re: [xsl] xsl:choose and xsl:when

2007-08-29 06:45:16


It's always useful to see some sample input.... so
guessing that your
XML looks like this:

My bad.... Here is my XML data:

<?xml version="1.0"?>
<!DOCTYPE PHONEBOOK>
<PHONEBOOK>
    <LISTING>
        <FIRST> Derek </FIRST>
        <LAST> Smith </LAST>
        <PHONE TYPE="CELL"> 614-757-2123 </PHONE>
        
        <FIRST> Joseph </FIRST>
        <LAST> Chow </LAST> 
        <PHONE> 614-757-2323 </PHONE>
        
        <FIRST> Corey </FIRST>
        <LAST> Pohl </LAST>
        <PHONE> 614-806-1416 </PHONE>
        
        <FIRST> Tiko </FIRST>
        <LAST> Lewis </LAST>
        <PHONE TYPE="CELL"> 614-232-3434 </PHONE> 
   
        <FIRST> Kurt </FIRST>
        <LAST> Smith </LAST>
        <PHONE> 419-455-9090 </PHONE>   
    </LISTING>

    <LISTING>
       <FIRST>Jane</FIRST>
       <LAST>Smith</LAST>
       <PHONE>1-800-234-5678</PHONE>
       <PHONE>1-555-222-3333</PHONE>
    </LISTING>

</PHONEBOOK>         



       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--