Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Help with xslt >Thread Next - Re: Help with xslt Re: Help with xsltTo: NULL Date: 8/3/2007 8:39:00 PM TexasAggie96 wrote: > I have XML that looks like below from which I want to make the VALUE > tags that are empty (ie <Value/>) default to <Value>0.00</Value> and > then I want to pull out certain values, for which I already have the > XSLT for, which is also seen below. <Value> <xsl:choose> <xsl:when test="x:Value=''"> <xsl:text>0.00</xsl:text> <xsl:when> <xsl:otherwise> <xsl:value-of select="x:Value"/> <xsl:/otherwise> </xsl:choose> </Value> ///Peter -- XML FAQ: http://xml.silmaril.ie/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
