Subject: RE: [xsl] inline troubles From: Luke Jones <ljones@xxxxxxxxxxxxxxxxxx> Date: Thu, 07 Sep 2006 16:56:04 -0500 |
> (But are you sure you want the value of the first name element child > of the name element? That seems rather odd.) I'm not sure I understand what your mean by that. The confusion may be in that I used "fake" code rather then the real one. > > ...we have <xsl:text>...</xsl:text>: > > <xsl:template match="name"> > <xsl:value-of select="name" /> > <xsl:text> : </xsl:text> > <xsl:apply-templates /> > </xsl:template> > I had at one time had <xsl:text>:</xsl:text>, however it was still getting moved to the front. It wasn't until I did <xsl:template match="name"> <xsl:apply-templates> <xsl:value-of select="name/> <xsl:text> : </xsl:text> </xsl:templeate> I don't understand why switching the apply-templates above the rest of the code worked. By my logical thinking, that doesn't make sense. :-/ At the moment everything seems to be working great. Thanks again.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] inline troubles, Wendell Piez | Thread | Re: [xsl] inline troubles, David Carlisle |
RE: [xsl] Ignoring a child element, Michael Kay | Date | Re: [xsl] inline troubles, David Carlisle |
Month |