[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Expression Logic Problem
hi,
Charles Knell wrote: Let me recommend Purple Technology's XPath Explorer (http://sourceforge.net/projects/xpe/) this looks hideous
I just noticed a cut & paste error in my code. I had: <xsl:if test="not(@id=preceding-sibling::field[1]/@id)"> > > <!-- perhaps use a key here? --> > <xsl:value-of > select="$/document/configure/server/resultfield[@id=$id]"/> > <xsl:text>: </xsl:text> > </xsl:if> I was going to use a variable to save line space, but then switched back but did not get the '$.' It is probably obvious but it should be: <xsl:if test="not(@id=preceding-sibling::field[1]/@id)"> > > <!-- perhaps use a key here? --> <xsl:value-of select="/document/configure/server/resultfield[@id=$id]"/> > <xsl:text>: </xsl:text> > </xsl:if> -Rob XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|