[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

need to get value of required nodes only

Subject: need to get value of required nodes only
From: "Asim Qazi" <qazi@xxxxxxxxxxx>
Date: Mon, 8 Mar 2004 11:37:54 -0800
value is required
Hi All,
    i need small help in xsl, i m a beginner to XSL.
    i m getting  a xml like this now i want to get the value of test2 and
test 4 Main Nodes. and all sub links of these two main nodes.
and just want two print like this

    mainNode
        sublink1
        sublink1
        ...
    mainNode
        sublink1
        sublink1
        ...

//My XML Packet
<data>
<menu-options>
    <menu-heads name="Test1" menunumber="0" link="#">
        <sublinks href="abc">Test1.1</sublinks>
        <sublinks href="abc">Test1.2</sublinks>
    </menu-heads>
    <menu-heads name="Test2" menunumber="1" link="#">
        <sublinks href="abc">Test2.1</sublinks>
        <sublinks href="abc">Test2.2</sublinks>
    </menu-heads>
    <menu-heads name="Test3" menunumber="2" link="#">
        <sublinks href="abc">Test3.1</sublinks>
        <sublinks href="abc">Test3.2</sublinks>
        <sublinks href="abc">Test3.3</sublinks>
    </menu-heads>
    <menu-heads name="Test4" menunumber="3" link="#">
        <sublinks href="abc">Test4.1</sublinks>
        <sublinks href="abc">Test4.2</sublinks>
        <sublinks href="abc">Test4.3</sublinks>
    </menu-heads>
</menu-options>
</data>

Plz Help
Qazi Asim




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.