This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to rearrange nodes based on a dependency graph?


Oops, wouldn't that just not handle any of the fragments
that have dependencies? Seems like all you do is exclude
the ones with a requires attribute? Or am I missing something?

-Gunther

Chris Bayes wrote:

> Hick! Or probably you want this
> 
> <xsl:template match="frag[not(@requires)]">
> 	<xsl:copy-of select="//frag[@id = current()/@id and
> not(@requires)] />
> 	<xsl:copy-of select="." />
> </xsl:template>
> <xsl:template match="frag" />
> 
> Ciao Chris
> 
> XML/XSL Portal
> http://www.bayes.co.uk/xml
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


-- 
Gunther Schadow, M.D., Ph.D.                    gschadow@regenstrief.org
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistant Professor        Indiana University School of Medicine
tel:1(317)630-7960                         http://aurora.regenstrief.org



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]