Subject: Re: [xsl] combining 2 or more xml files? From: "james walker" <jameswalkerandy@xxxxxxxxxxx> Date: Mon, 22 Dec 2003 13:28:30 +0000 |
<xsl:template match="root"> <xsl:apply-templates select="category" /> </xsl:template>
<xsl:template match="category"> <xsl:if test="count(ancestor::*)=1"> do this </xsl:if> <xsl:if test="count(ancestor::*)=2"> do that </xsl:if> <xsl:if test="count(ancestor::*)=3"> <div> <h2><xsl:value-of select="name" /></h2> <h3>TOP FIVE LINKS</h3> <ul> <!-- SOME CODE HERE TO PULL TOGETHER FILES AND DISPLAY TOP FIVE LINKS--> </ul> </div> </xsl:if>
From: "Agnes Kielen" <agnes.kielen@xxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: Re: [xsl] combining 2 or more xml files? Date: Mon, 22 Dec 2003 11:47:12 +0100
Hi James,
I'm not sure if I understand you correctly, but do you know the document function http://www.dpawson.co.uk/xsl/sect2/N2602.html
> does anyone know how to combine these files in order to obtain the 5 links? > (the xml file fo rteh hoimepage is a different structure to the otehrs) > cheers > james > Cheers, Agnes
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] combining 2 or more xml f, Jim Fuller | Thread | RE: Re: [xsl] combining 2 or more x, cknell |
RE: [xsl] Parsing an array as a par, Jim Fuller | Date | RE: RE: [xsl] Hello, some problems , cknell |
Month |