scrollIntoView for XML documents

"conor325" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xml
Organization http://groups.google.com
Message-ID <1111714661.866666.112770__5294.29878010905$1111715044$gmane$org@g14g2000cwa.googlegroups.com>
for HTML and XHTML (http://www.w3.org/1999/xhtml), the function
scrollIntoView allows you to pick an element in a document and make it
visible in a browser frame or window. However our texts are XML files,
specifically XHTML 2 with "section" and "h" and other tags specific to
that standard. Firefox treats them, as it should, as "plain XML" but it
doesn't support scrolling to a point for such documents ... or does it?
Is there a way to dynamically make an arbitrary element in a displayed
XML document visible?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.