cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Raiczyk <>
Subject Inserting DOM object via XSL
Date Fri, 29 Sep 2000 13:53:04 GMT
Hi people, one question:

I have a DOMContainer class (singleton) in wich I store all configuration
files in DOM format.
One of this DOMs is the navigation tree of the web site.
I also have a stylesheet wich is applied to all pages of the site, this
stylesheet has to draw the header and the navigation tree.
The thing is, how can I insert the navigation tree DOM while applying the
stylesheet ? 
I mean, in the stylesheet I have something like:

  <xsl:template match="pagina">
    	<xsl:apply-templates select="titulo"/>
	  <table border="0" cellspacing="0" width="794" height="594">
	      <td width="100%" colspan="5" height="105">
	      	<img border="0" src="img/top.jpg" width="794" height="105"/>
	      	<!-- Encabezado -->

	      <td width="145" height="489" valign="top">

	      	<!-- NAVIGATION TREE -->

    <!-- esto lo tuve que agregar para el js que se ejecuta despues que
  		se cargo toda la pagina -->
	<xsl:apply-templates select="scriptpie"/>

and where says <!-- NAVIGATION TREE --> I have to expand the DOM and apply
the corresponding template also.


View raw message