[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] SGML complexity
- From: <juanrgonzaleza@canonicalscience.com>
- To: <xml-dev@lists.xml.org>
- Date: Thu, 7 Sep 2006 06:10:54 -0700 (PDT)
bryan rasmussen said:
>> And also because XSLT is not all one needs. Can I script in JS an
>> up-down navigation menu for a website. How could i do that using
>> client side XSLT (could in XSLT 2)?
>>
>>
> I guess you could if an up-down navigation menu is done using html. you
> can of course also generate javascript. This is probably top level
> clueless question about XSL-T likely to be encountered from people who
> don't use it.
And sure you can transform XML input docs to SVG or to LaTeX,
Mathematica... but i cannot think anyone claiming that XSLT draw as SVG,
print as LaTeX or simbolically integrate expressions.
Sure also you can ***introduce*** JS and other stuff into the XSLT
template and the final doc will contain the JS code managing the DOM for
the up-down navigation menu. But the dinamical menu is being managed via
JS-DOM.
That i said is that you cannot use XSLT (at least 1.0) for the menu in the
_final_ doc, you _may_ use JS.
Therefore here XSLT is lacking functionality. Is not?
---- DATA -----
function openMenu(itsId){
document.getElementById(itsId).style.visibility = "visible";
}
function closeMenu(itsId){
document.getElementById(itsId).style.visibility = "hidden";
}
...
<a id="topPrimaryMenu1" ... onmouseover="openMenu('navigationZone1')">
navigation menu| </a>
What is XSLT counterexample if any?
---------------
Juan R.
Center for CANONICAL |SCIENCE)
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]