Wendell Piez wrote:
> Plus linking. Unless CSS can declare links and browsers recognize them.
> (Can it do that?)
As Martin pointed out, while the CSS3 specs allow it, current CSS
implementation cannot do this. But DOM can. If an XML file directly
declares the XHTML namespace, it can make use of the <xhtml:script>
document.createElementNS function to dynamically create xhtml <a>
various DOM functions. These xhtml <a> elements would not be part of the
document at all -- i.e. this isn't a transformation, but a client-side
scripting manipulation (this may be splitting hairs in the end). Such a
method would currently only work in Mozilla browsers; I.E. 7 is
supposedly able to as well.
Another similar alternative is to use xLink, again supported in recent
Mozilla browsers but not in others.
Of course, these strategies would result in making the XML invalid,
unless one were to allow the xhtml namespace as part of the schema so
the script files could be associated directly with the XML rather than
with a transformed file.
Assistant Research Professor
Humanities Technology and Research Support Center
Brigham Young University
Provo, UT 84602
[log in to unmask]