C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






xsl-Param


Posted Date: 13 May 2008    Resource Type: Code Snippets    Category: XML
Author: shakti singh tanwarMember Level: Diamond    
Rating: Points: 10



Save this as CountriesAndStates.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="CountriesAndStates.xsl"?>
<countries>
<country name="INDIA">
<state>Andhra Pradesh</state>
<state>Arunachal Pradesh</state>
<state>Assam</state>
<state>Bihar</state>
<state>Chandigarh</state>
<state>Chhattisgarh</state>
<state>Dadra and Nagar Haveli</state>
<state>Daman and Diu</state>
<state>Delhi</state>
<state>Chhattisgarh</state>
</country>
<country name="MAXICO">
<state>Aguascalientes</state>
<state>Baja California</state>
<state>Baja California Sur</state>
<state>Campeche</state>
<state>Chiapas</state>
</country>
<country name="USA">
<state>Alabama</state>
<state>Alaska</state>
<state>Arizona</state>
<state>Arkansas</state>
<state>California</state>
<state>Colorado</state>
<state>Connecticut</state>
<state>Delaware</state>
<state>Florida</state>
</country>
</countries>

I am attaching CountriesAndStates.xsl file.Place both files in same folder and open XMl file in IE.


Attachments

  • CountriesAndStates.xsl (16055-13820-CountriesAndStates.xsl)



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    (No tags found.)

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: For-Each loop XSL
    Previous Resource: Inserting a flash file into HTML
    Return to Discussion Resource Index
    Post New Resource
    Category: XML


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use