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

Problem using XSL

Subject: Problem using XSL
From: "Stéphane Mamdy" <smamdy@xxxxxxxxxxxxx>
Date: Fri, 9 Jun 2000 16:56:52 +0200
xsl document extra space problem
Hi,
I amquite new in using XML.
I have done an XML doc like this:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<?xml:stylesheet type="text/xsl" href="liste_cron1.xsl"?>
<LPlan>
	<Plan>
		<MOTEUR ID_MOTEUR="Agritest">Agritest</MOTEUR>
		<SITE ID_SITE="15">agrifirst</SITE>
	</Plan>
	<Plan>
		<MOTEUR ID_MOTEUR="Agritest - Altavista">Agritest - Altavista</MOTEUR>
		<SITE ID_SITE="15">agrifirst</SITE>
	</Plan>

</LPlan>


I have this XSL document:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html4.0" result-ns="">


   <xsl:template match="/">
      <html xmlns="">
         <head>
            <link REL="stylesheet" TYPE="text/css" HREF="cell.css"/>
         </head>
         <body>
               <xsl:apply-templates select="LPlan"/>
         </body>
      </html>
   </xsl:template>

   <xsl:template match="LPlan">
         <xsl:for-each select="Plan" order-by="SITE">
                  num de ligne <xsl:value-of select="position()" />
         <p/>
	   <xsl:value-of select="MOTEUR"/>
	   <xsl:value-of select="SITE"/>
	</xsl:for-each>
</xsl:template>

</xsl:stylesheet>


This line :
                  num de ligne <xsl:value-of select="position()" />
doesnt work with IE5 ...
Why ? I don't find any information about it....

Perhaps do i forget something ?

Thanks for you help.
Stéphane Mamdy.



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.