Jump to content

lclee

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by lclee

  1. This is XML.

    <r>My <b>car</b> is <b>blue</b></r>

    What is the correct text content of r?

    Using _ to represent a space, r's text value could be: My__is_  Capture every character between <> My__is   Strip leading and trailing whitespace Myis     Strip each segments leading and trailing whitespace My       Use only the first text value is       Use only the last value

    I'm interested in how the various parsers handle this,but references to the XML standard would be most appreciated.Thank youLarry

×
×
  • Create New...