This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
select from a node the childs
- From: "Carlos" <linux at lpis dot com>
- To: <XSL-List at lists dot mulberrytech dot com>
- Date: Wed, 13 Mar 2002 11:21:02 +0100
- Subject: [xsl] select from a node the childs
- Reply-to: xsl-list at lists dot mulberrytech dot com
if i have a node with the number 10 how can i show the childs for tha node?
and how can a xsl template get a parameter from a page(jsp or other page
type)?
my intention is from a jsp page pass a variable (number) and whit this
number select the childs in the xml tree
is this posible?
whit two * i have marked the node and i want to show its all childs
thanks
the xml tree is this:
<FOROS>
<FORO>
<TITULO_FORO>NOMBRE DEL FORO 1</TITULO_FORO>
<PREGUNTAS>
<PREGUNTA>
<TITULO>Primera pregunta del bloque 1 que, ademas, no tiene
respuestas </TITULO>
<FECHA>2002-03-24</FECHA>
<AUTOR>autor1</AUTOR>
<EMAIL>carlos@unicaonline.com</EMAIL>
<LINK>e=a</LINK>
<NUEVO>s</NUEVO>
<TEXTO>el texto de un titulo sin respuestas 1</TEXTO>
</PREGUNTA>
<PREGUNTA> **
<TITULO>segunda pregunta del bloque 1 que ademas no tiene
respeuestas</TITULO>
<FECHA>2002-03-24</FECHA>
<AUTOR>autor1</AUTOR>
<EMAIL>carlos@unicaonline.com</EMAIL>
<LINK>e=a</LINK>
<NUEVO>s</NUEVO>
<TEXTO>el texto de un titulo sin respuestas</TEXTO>
<PREGUNTA>
<TITULO>segunda pregunta del bloque 1 que ademas no
tiene respeuestas</TITULO>
<FECHA>2002-03-24</FECHA>
<AUTOR>autor1</AUTOR>
<EMAIL>carlos@unicaonline.com</EMAIL>
<LINK>e=a</LINK>
<NUEVO>s</NUEVO>
<TEXTO>el texto de un titulo sin respuestas</TEXTO>
</PREGUNTA>
</PREGUNTA>
</PREGUNTAS>
</FOROS>
<FORO>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list