Subject: Re: [xsl] how to rearrange nodes based on a dependency graph? From: Gunther Schadow <gunther@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 20 Dec 2001 17:00:47 -0500 |
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?
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@xxxxxxxxxxxxxxx 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] how to rearrange nodes ba, Chris Bayes | Thread | RE: [xsl] how to rearrange nodes ba, Chris Bayes |
RE: [xsl] how to rearrange nodes ba, Chris Bayes | Date | Re: [xsl] re-ordering nodes, Srinivasan Guruswami |
Month |