![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: Best Method >Thread Next - Re: Best Method Re: Best MethodTo: NULL Date: 9/1/2003 11:59:00 AM
Oleg Tkachenko wrote:
> Matt Frame wrote:
>
>> When creating XSL what is the best method to test if an attribute or
>> element
>> exists?
>
>
> <xsl:if test="@attr">attr exists!</xsl:text>
^^^^
Should be <xsl:if>
> <xsl:if test="elem">elem exists!</xsl:text>
^^^^^^^^^^^
Same here, should be </xsl:if>
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
