|
Subject: [xsl] [XSL] XSL and <table> From: Bertrand Sauviat <bsauviat@xxxxxxxxxxxxxx> Date: Mon, 17 May 2004 16:57:59 +0200 |
Hello,
Some problems with <table>
In my XML :
<return>
<valuepos return_value="NOERROR " meaning="No error "/>
<valueneg return_value="NOTPROCESSED" meaning="warning informing
that the operation cannot be processed."/>
<valueneg return_value="NONLP" meaning="wrong "/>
<valueneg return_value="PROCESSERROR" meaning="Unexpected error"/>
<valueneg return_value="NOTVALIDPARAMETER" meaning="Invalid
lpDict"/>
<valueneg return_value="DICT_READ" meaning="Error while reading the
dictionary"/>
<valueneg return_value="DICT_NOENTRY" meaning="There is no entry at
dwIndex"/>
<valueneg return_value="NOTIMPLEMENTED" meaning="The NLP does not
support user dictionaries"/>
</return>
<notes>
<para>
<text text_value="The way the NLP manages the index order is free,
this function can only be used when 'dumping' all the dictionary. Two words
with consecutive indexes are not related together. "/>
</para>
<para>
<text text_value="Allocate a new lpszEntrywith a minimum of
(*lpdwEntrySize) bytes."/>
</para>
<notes>
I want displaying the <return> information in a table with 2 colums
The first for @return_value and the second for @meaning
So, in my XSL:
<xsl:template match="fonction/return">
<b><xsl:text>Return values</xsl:text></b><br/>
<table width="100%" align="left">
<xsl:for-each select="valuepos">
<tr>
<td><xsl:value-of select="@return_value"/></td>
<td><xsl:value-of select="@meaning"/></td>
</tr>
</xsl:for-each>
<xsl:for-each select="valueneg">
<tr>
<td><xsl:value-of select="@return_value"/></td>
<td><xsl:value-of select="@meaning"/></td>
</tr>
</xsl:for-each>
</table>
The problem is for the <notes> in my XML
All the information after <return> appears at the left of the table in IE
I don't understand why??
Thanks
Bertrand
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Extraction of HTML code f, Michael Kay | Thread | RE: [xsl] [XSL] XSL and <table>, Rod Humphris - FLPTN |
| Re: [xsl] change stylesheet encodin, David Carlisle | Date | RE: [xsl] [XSL] XSL and <table>, Rod Humphris - FLPTN |
| Month |