Hi,
und noch ne frage, kann man das dann irgendwie wieder als text ausgeben?
Klar - einfach mal in den Dokus ein wenig herumschauen, was für Methoden und Objekte sich in dem Umfeld sonst noch anbieten.
Die Doku-Seite zum erwähnten DOMParser führt bspw. schnell zum XMLSerializer - "XMLSerializer can be used to convert DOM subtree or DOM document into text."
Für den IE gibt's sicher ähnliche Möglichkeiten - aber danach kannst du mal selber in der MSDN suchen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“