Topic
6 replies Latest Post - ‏2012-10-12T02:06:27Z by SystemAdmin
SystemAdmin
SystemAdmin
6184 Posts
ACCEPTED ANSWER

Pinned topic Do not display the output XML tags,that are empty

‏2007-11-16T08:19:42Z |
Hi,

How can I not display the output XML tags,that are empty(does not have data)?

PriJag
Updated on 2012-10-12T02:06:27Z at 2012-10-12T02:06:27Z by SystemAdmin
  • NancyR
    NancyR
    202 Posts
    ACCEPTED ANSWER

    Re: Do not display the output XML tags,that are empty

    ‏2007-11-16T20:51:08Z  in response to SystemAdmin
    Check out the None and Zero properties in the Type Designer Reference Guide.
  • TarunB
    TarunB
    211 Posts
    ACCEPTED ANSWER

    Re: Do not display the output XML tags,that are empty

    ‏2007-11-19T10:32:37Z  in response to SystemAdmin
    PriJag

    If you're talking about the output mapping of XML data, then try something like this:-

    EITHER (InputField, NONE).

    Note that this will only work if your output XML field is optional, as in (0:1) etc.
    • DianeC
      DianeC
      64 Posts
      ACCEPTED ANSWER

      Re: Do not display the output XML tags,that are empty

      ‏2007-11-19T14:56:08Z  in response to TarunB
      Also - make sure that in your tree, that EMPTY is set to NONE on the properties list for the tags.
  • SystemAdmin
    SystemAdmin
    6184 Posts
    ACCEPTED ANSWER

    Re: Do not display the output XML tags,that are empty

    ‏2007-11-26T16:37:59Z  in response to SystemAdmin
    If the tag is not required, you could also change the range from x:1 (1:1) to 0:1 in the type tree
    • Lakh
      Lakh
      5 Posts
      ACCEPTED ANSWER

      Re: Do not display the output XML tags,that are empty

      ‏2012-10-11T00:51:43Z  in response to SystemAdmin
      Hi,

      i have similar problem. i couldn't find xml field range (1:1) in type tree. Please advice where i can find and change it to (0:1). Thanks in advance.
      • SystemAdmin
        SystemAdmin
        6184 Posts
        ACCEPTED ANSWER

        Re: Do not display the output XML tags,that are empty

        ‏2012-10-12T02:06:27Z  in response to Lakh
        You should be able to open parent group component view in type editor and select the element and say set Range to 0:1