XML Innertext Vs Innertext null

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alsonsux
    New Member
    • Apr 2014
    • 1

    XML Innertext Vs Innertext null

    Hi all, if xml innertext is nothing, can the 1 line of data drop it?

    eg:

    Code:
    <customer>
    <name>john</name>
    <age></age>
    <tall>175</tall>
    </customer>
    instaed of

    Code:
    <customer>
    <name>john</name>
    <tall>175</tall>
    </customer>
    im using xmlelement and str for the innertext
    any one can help? or i hv to provide more info on my xml?

    thanks
    Last edited by Dormilich; May 6 '14, 07:07 AM. Reason: [Z{Please use the [CODE/] button to format posted script and formated text - Please read the FAQ}]
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    alsonsux: Please read the FAQ and please, click on the [CODE/] button in the post toolbar and then cut and paste your script between the [CODE] [/CODE] tags.
    Without the proper formatting, your XML script flagged your post as spam; thus, delaying any help we might be able to offer.

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      or i hv to provide more info on my xml?
      on the XML there is no more info necessary. what’s of importance is what you use to work with the XML.

      Comment

      Working...