Okay so there is no way of using Xlinks(??) or other XML features to
achieve what I want?
XLinks are as far as I know only implemented as simple XLinks in
Mozilla, I don't know of any other browser supporting that feature.
If you are only building documents to be rendered by Mozilla then you
can make use of simple XLinks of course. Mozilla has also some support
for XPointer, have a look yourself here as to whether that solves what
you want to achieve:
So does that mean XML/XSL is a static way of displaying data ?
XSL is not a way to display data, it is a programming language to
transform an input tree into a result tree which is then usually
serialized, either in plain text format or in XML format or in HTML
format. Of course often XSL is used to transform data stored in XML
format into another format, usually HTML, to render the data or part of
the data. And then, as said, you can use all scripting techniques
available to make the resulting HTML dynamic.
As for XML being static that is too general a question to give a
conclusive answer, SVG for instance is an XML application that is highly
dynamic, you can use both script and SMIL to animate graphics.
Or are you asking about XSL-FO? That is an XML application to define the
rendering of objects but usually it is not XSL-FO that is rendered in a
user agent but XSL-FO is transformed to PDF and that is rendered.