hi, i have an XUL frame in my code(test.xul) as follows: <frame src="test.xml"/> <button label="hello" onclick="change()"> My test.xml file is as follows: <people number="3"> <person> <name>abc</name> <age>12</age> </person> <person> <name>pqr</name> <age>13</age> </person> <person> <name>xyz</name> <age>14</age> </person> </people> In the function change. i want to access the test.xml file. Is this possible? I mean can my function change aceess the attribute "number" of the people tag & modify its value etc? i know this is possible using DOM functions like getFirstChild etc but DOM functions can be used to access the content on only that file which contains the script ...is this right? I mean can i use these DOM functions to access the contents of a file which is the source of a frame in my XUL file?The script & the function are associated with the XUL file & the XML file is the source of a frame in the XUL file. Can the script access this XML file? thanx
