When using Tidy.parseDom(), I am experiencing inconsitencies when attempting to get the parent element of a particular HTML tag within the DOM. For example: <HTML> <HEAD> <META>MetaInfo 1</META> <TITLE>Contrived Example</TITLE> <META>MetaInfo 2</META> <SCRIPT language="JavaScript">.. </SCRIPT> </HEAD> <BODY> .... </BODY> </HTML> In examples similar to this, I am calling getParent() on the "<BODY>" element and "<META>MetaInfo 2</META>" is being returned to me. The parent of the SCRIPT element is also returning "<META>MetaInfo 2</META>" . Has anyone else experienced this particular problem? Any suggestions would be greatly appreciated. Thanks, Scott DossettReceived on Thursday, 29 June 2000 09:05:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:21:25 GMT