Results 1 to 2 of 2

Thread: an XML question

  1. #1
    Join Date
    Jul 2005

    an XML question

    the XML furom is not very active... so i ask here anout XML/XSL

    i've got an XML field named "link", but it doesnt allways have some content.
    i want to display some text ONLY IF this field have something.

    started with this:
    <xsl:if test="link">
    some text to show

    how do i write : if field "link" have any content ?

    example = if field "link" equal 'shaka'
    <xsl:if test="link &#61; 'shaka'">
    some text to show
    Last edited by ofir; 12-27-2005 at 09:05 AM.

  2. #2
    Join Date
    Jul 2005
    FOUND IT !!
    <xsl:if test="link != ''">

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center