Is this anyway to find a certain comment in an .xml file.
I know of this nodeType==8 and it works great… but its replacing all my comments. I just want to replace a certain one.
So if I have multiple comments (like below) it finds the correct one.
<item type="image" src="assets/jpg/13.jpg" fade="1" delay="12"/>
<item type="image" src="assets/jpg/13.jpg" fade="1" delay="12"/>
<!--comment1-->
<item type="image" src="assets/jpg/13.jpg" fade="1" delay="12"/>
<!--comment2-->
<item type="image" src="assets/jpg/13.jpg" fade="1" delay="12"/>
<item type="image" src="assets/jpg/13.jpg" fade="1" delay="12"/>
<!--comment3-->
My php script will replace comments with something else.
Thanks!
Tim