Subject: Re: Replacing a string by another which is found by reference in thesame XML document From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx> Date: Fri, 16 Jun 2000 14:13:25 -0400 |
vincent_garsuault@xxxxxxxxx wrote: > > I have an XSL style sheet to display it on IE5 with apropriate style. I > would like to get as output: > > Class: > Name="MyClass" > TargetRef="MyObject" Something like this should work. <xsl:template match="Class"> <xsl:text>Class: Name="</xsl:text> <xsl:value-of select="@Name" /> <xsl:text>" TargetRef="</xsl:text> <xsl:value-of select="AnotherObject[@Uuid = current()/@Uuid]/@Name" /> <xsl:text>" </xsl:text> </xsl:template> > First I am using IE5 to read an XML file referencing an XSL stylesheet. I'm not sure if this will work in IE5 though - the above is a pure XSLT solution. If possible, upgrade to the latest IE5 MSXML release. -- Warren Hedley XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Replacing a string by another which, vincent_garsuault | Thread | Template Rule for JavaScript Rollov, Daniel Hinz |
RE: number formatting...., Khaja, Saif | Date | Re: Template Rule for JavaScript Ro, Blond JB |
Month |