Gregory,

Yyou shuld make sure that the output of xsl templates is a single 
element, not a series of elements.  So in your case wrap the

<h1></h1><br><p></p>

in a div or something, e.g.:

<div><h1></h1><br><p></p></div>

Mike


Grégory Babusiaux wrote:
> hi i've been trying to display my entire xml data as a widget in gml  
> viewer.
>
>
> extract of xsl:
>
> <xsl:template match="/data">
> <h1>
> [Données]
> </h1>
> <br/><!--
> <xsl:apply-templates/>-->
> </xsl:template>
>
> I have a problem: it displays the title but if I had <br/>, it  
> doesn't display anything!
>
> if I take off the comments and I apply the templates, it won't  
> display anything either!
>
> I checked, and in a div tag you can have tags like <h1></h1><br><p></p>
>
> I'm lost again :S
>
> Greg
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> mapbuilder-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to