This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to rearrange nodes based on a dependency graph?
- From: Gunther Schadow <gunther at aurora dot regenstrief dot org>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 20 Dec 2001 17:00:47 -0500
- Subject: Re: [xsl] how to rearrange nodes based on a dependency graph?
- Organization: Regenstrief Institute for Health Care
- References: <01bb01c1899f$0e4f7be0$2100a8c0@swiftnet.tec>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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