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

Re: problem of repetition

Subject: Re: problem of repetition
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx (by way of B. Tommie Usdin)
Date: Tue, 30 Jan 2001 19:08:59 -0500
xml repetition
From: "Frank Neugebauer" <neuggs@xxxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: problem of repetition
Date: Tue, 30 Jan 2001 17:44:18
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW2-F215MKKECBlGkV0000368c@xxxxxxxxxxx>
X-OriginalArrivalTime: 30 Jan 2001 17:44:18.0483 (UTC) FILETIME=[4537B830:01C08AE4]


Would it be possible to get:

1) Source XML
2) Destination (expected) XML (output)

That would help a lot.

Regards,
Frank.


hello friends,
i have tried the site jenitennison.com.
i am facing one problem.the problem is that in report i am getting same
project name again and again
and the records are also in a repetition. but i have solved the problem of
grouping.means to separate the data of projects and the same project data
in a single table.but this project name is repeating and its records are
also repetiting.
thanks in advance


<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:key name="manish" match="row" use="PROJECT_ID" /> <xsl:output method="html"/> <xsl:template match="rowset"> <xsl:apply-templates select="row[generate-id(.) = generate-id(key('manish', PROJECT_ID)[1])]" />

<html>
<head>
<title>Ptss</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<link rel="stylesheet" href="../../Content_Files/Form.css"/>
</head>
<body>

<xsl:for-each
select="//PROJECT_ID/@value[not(.=following::PROJECT_ID/@value)]" >
  <xsl:value-of select="."/>
<xsl:for-each select="//row[PROJECT_ID/@value=current()]">
<xsl:sort select="TASK_NAME/@value"/>
<p><xsl:value-of select="TASK_NAME/@value"/></p>
</xsl:for-each>

</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>



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


_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com

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


Current Thread
  • problem of repetition
    • kapil - Tue, 30 Jan 2001 00:46:43 -0500 (EST)
      • <Possible follow-ups>
      • kapil - Tue, 30 Jan 2001 03:34:41 -0500 (EST)
      • by way of B. Tommie Usdin - Tue, 30 Jan 2001 19:15:16 -0500 (EST) <=

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.