Subject: RE: [xsl] need xpath From: "Bryan Rasmussen" <bry@xxxxxxxxxx> Date: Thu, 31 Jan 2002 19:03:29 +0100 |
I remember that you posted about this earlier and that you were constrained to an environment that only supported old wd-xsl it's been a while since I've had to do anything with that, I was once in the same situation and I batch processed my wd-xsls from an xslt, anyhow from what I remember you could still do most things, I always had problems in wd-xsl getting includes and imports to work right, the xpath was subtlely different(guess it was prob xsl patterns), don't think parameters worked quite right, couldn't use curly brackets had to use <xsl:attribute name="somename"> all the time, no variables as I remember- nonetheless it shouldn't be too difficult, there was if, when, for-each, apply-templates, call-templates and so forth. that said try <!--just do this to check if it works, clean it later--> <xsl:for-each select="//graphic[@id=//xref/@xrefid]"> </xsl:for-each> just to get a handle on how awful it truly is to work with this misbegotten technology. ><graphic id="XBWQEF00F" boardno="N0011939.FAX" size="A4" rfa="(Pre >Mod.02138)" label="2" inschlvl="3" mark="1"/> >And the line: ><xref xrefid="XBWQEF00F"/> >When I encounter the <xref> element I want to output the 'label' attribute >from the corresponding graphic element. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] need xpath, Andrew Welch | Thread | RE: [xsl] Javascript inside XSL(Jus, Gertjan Assies |
[xsl] Web publishing using XML+XSL , Semih Hazar | Date | Re: [xsl] apply two different templ, Agnes kielen |
Month |