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

Antwort: Re: Indexing a fop generated document.

Subject: Antwort: Re: Indexing a fop generated document.
From: mario.jeckle@xxxxxxxxxxxxxxxxxxx
Date: Tue, 16 Jan 2001 14:53:40 +0100
foundation.core.generalization.child
Sorry,

that's always the problem when handcrafting a example...

Snippet of the real one:
<xsl:element name="copyDownAttributes_elem">
...
<xsl:if 
test="count(//Foundation.Core.Generalization[Foundation.Core.Generalization.chil
d/Foundation.Core.GeneralizableElement/@xmi.idref=$classID]) &gt; 0">
<xsl:for-each 
select="//Foundation.Core.Generalization[Foundation.Core.Generalization.child/Fo
undation.Core.GeneralizableElement/@xmi.idref=$classID]">
		<xsl:call-template 
name="copyDownAttributes_elem"><xsl:with-param name="classID" 
select="Foundation.Core.Generalization.parent/Foundation.Core.GeneralizableEleme
nt/@xmi.idref"/></xsl:call-template>
	</xsl:for-each>
</xsl:if>

It only works if the if-test is applied _before_  for-each is performed.

any ideas?
Mario
-----------------------
Mario Jeckle
mario.jeckle@xxxxxxxxxxxxxxxxxxx
DaimlerChrysler Corporate Research
DaimlerChrysler Forschungszentrum Ulm

URL: http://www.jeckle.de
-----------------------

 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.