data-nova
asked on
Expand\Collapse all nodes
Can anyone give me an example about how I can make an XML file (displayed in a browser) that has a Collapse\Expand all option ?
Maybe it needs some javascript .Thank you
Maybe it needs some javascript .Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i could use XSL.i dont need to have just the XML file
I have seen it work in some places
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
well that displays all the nodes open , i want all of them displayed collapsed
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<Customerlist>
<Customer no="100" name="John Smith" country="Italy">
<SalesInfo>
<Sale saleid="501" date="2006-03-02" amount="10.00"></Sale>
<Sale saleid="675" date="2006-03-11" amount="42.00"></Sale>
</SalesInfo>
<Otherinfo CustomerCategory="AA" Zone="4"/>
</Customer>
<Customer no="200" name="Davy Jackson" country="France">
<SalesInfo>
<Sale saleid="324" date="2006-02-22" amount="12.00"></Sale>
<Sale saleid="700" date="2006-03-11" amount="56.00"></Sale>
</SalesInfo>
<Otherinfo CustomerCategory="BB" Zone="3"/>
</Customer>
</Customerlist>
how can i display it so that i only see like this with the nodes collapsed
- <Customerlist>
+ <Customer no="100" name="John Smith" country="Italy">
+ <Customer no="200" name="Davy Jackson" country="France">
</Customerlist>