![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I have a generic XML file:
<nodes> <node1 att1='abc' att2='xyz'> <ele1> Hello </ele1> <ele2> Hi </ele2> ... </node1> .... </nodes> The tag and attribute names above can be anything. I need a generic method to strip off the XML markups and display the contents as: node1@att1: abc node1@att2: xyz node1.ele1: Hello node1.ele2: Hi .... How can E4X do this? |
| Sponsored Links |
|
|||
|
e4x is for manipulating/navigating your xml. But you can use it inside a
for/each loop to look at your xml nodes and extract the strings without the xml tags using toString(). Search the help docs for "XML type conversion" and see the toString() method in action. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise