XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
stieve sSubject: row is not looping
Author: stieve s
Date: 09 Mar 2007 01:45 AM
this is the syntax, i am trying to insert in the table AssetDetails ,for the container 2 eps are there , the 2 ep is not listed in the 2 row under the same container name...



xslt code goes here ...



<?xml version='1.0'?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40">

<xsl:template match="/">
<html>
<body>
<!-- Table Declarations -->

<table name ="AssetDetails" border="2" bgcolor="white">
<tr>
<th>Container</th>
<th>EP</th>
</tr>
<!-- Filling of AssetDetails Table-->
<xsl:for-each select="//container">
<td><xsl:value-of select="@name"/></td>
<xsl:for-each select="//container//eps//ep">
<td><xsl:value-of select="@name"/></td>
</xsl:for-each>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

Postnext
Ivan PedruzziSubject: row is not looping
Author: Ivan Pedruzzi
Date: 09 Mar 2007 02:09 AM
The posted code is *not* XSLT

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"

the correct namespace is

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


Ivan Pedruzzi
Stylus Studio Team
http://www.stylusstudio.com/xml_download.html

Postnext
stieve sSubject: row is not looping
Author: stieve s
Date: 09 Mar 2007 03:13 AM
but itlaunching the html table with 2 eps in the same row under the same container name.i tried with ur url also.i want it to place the 2 ep in the nexr row with same container name

Posttop
Tony LavinioSubject: row is not looping
Author: Tony Lavinio
Date: 09 Mar 2007 02:59 PM
Stylus Studio should have told you that you weren't using an
XSLT namespace for this transform.

Which version are you on? (This is a Stylus Studio help forum,
so we assume if you ask you are using our product.)

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.