[jdom-interest] path to root

Mark Ayad mayad at ogilvy.net
Wed Oct 10 06:55:12 PDT 2001


Hi everyone,

when I'm on the dir node test6 is their 

an easy way to obtain the path to root.

<?xml version="1.0" encoding="UTF-8"?>
<dirbuilder>
	<dir name="test">
		<dir name="test1">
			<dir name="test5"></dir>
			<dir name="test6"></dir>
		</dir>
		<dir name="test2">
			<dir name="test3"></dir>
			<dir name="test4"></dir>
		</dir>
	</dir>
</dirbuilder>


Cheers

Mark






More information about the jdom-interest mailing list