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

i want no double xml records to be viewed

Subject: i want no double xml records to be viewed
From: "Nico Noordhoek" <noordhoek@xxxxxxxx>
Date: Mon, 21 Jul 2003 08:38:05 +0200
xml records
Hello,  
Please take a look at my problem. 

I have xml-records with a tag that have the same  content, like 
this tag: 
<PPN>12345</PPN>, I want just one record to be  shown in 
my ie-explorer, is it possible to add a  line in my stylesheet to 
prevent this? 

Nico Noordhoek


--------------- 
THIS IS A PART OF MY STYLESHEET 

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

<xsl:template match="/"> 

<xsl:for-each select="//record" order-by="-ppn"> 
         
PPN: <xsl:value-of select="ppn" /><br /> <!--<the  ppn tag--< 
Titel: <xsl:value-of select="titel" /><br /> 
     
</xsl:for-each>     
</xsl:template> 
</xsl:stylesheet>  


THIS IS A PART OF MY XML-FILE, with 4 records 
that has a <ppn>with the same content</ppn> 

<?xml version="1.0" encoding="utf-8" ?>  
<?xml-stylesheet href="vraag.xsl" type="text/xsl"  ?> 

<record> 
<seqnr>1</seqnr> 
<sortkey>1293/152005658301X H.S.T.Poetri Satrija  Dewi 
atawa Re... 
<main>1293/1520</main> 
<ppn>05658301X</ppn><titel>Poetri Satrija Dewi  atawa 
Resia Madj... 
</record> 

<record> 
<seqnr>2</seqnr> 
<sortkey>1293/1520088969789 H.S.T.Rasia Madjapait  atawa 
Poetri ... 
<main>1293/1520</main> 
<ppn>05658301X</ppn><titel>Rasia Madjapait atawa  Poetri 
Satrija ... 
</record> 

<record> 
<seqnr>3</seqnr> 
<sortkey>1619146723929 Njoo Cheong SengBatavia  
16191932 </sor 
<main>1619</main> 
<ppn>05658301X</ppn><titel>Batavia 1619 / oleh Njoo  
Cheong Seng.... 
</record> 

<record> 
<seqnr>4</seqnr> 
<sortkey>1625093403143 K.K.H.Tiga panglima  prang1914 
</sortkey 
<main>1625</main> 
<ppn>05658301X</ppn><titel>Tiga panglima prang /  
[karangannja Al....... 
</record> 




_____________________________________________________________________________________________
This outbound message from KPN has been checked for all known viruses by KPN IV-Scan, powered by MessageLabs. 

_____________________________________________________________________________________________

 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.