[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[XSL] XSL and <table>

Subject: [XSL] XSL and <table>
From: Bertrand Sauviat <bsauviat@xxxxxxxxxxxxxx>
Date: Mon, 17 May 2004 16:57:59 +0200
xsl to table
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.