Home Forums SQL Server 2005 T-SQL (SS2K5) FOR XML EXPLICIT - One to many relationship at level 3 (3 = parent, 4 = child) RE: FOR XML EXPLICIT - One to many relationship at level 3 (3 = parent, 4 = child)

  • Thank you VERY much! I had tried adding a fourth union and had definitely been doing it wrong. And I year you on the CDATA portion. Here is what the spec said:

    "For XML files we recommend the use of CDATA Tags in all fields, but minimally in the nText fields. Otherwise the escaped values of the reserved XML characters will be the actual text entered into the database. For example, & l t ; b r & g t ; will be entered in the database instead of just ."

    (Had to throw a lot of spaces in there to get the text to display properly.)

    For whatever it's worth, this is from ADP. We are getting rid of a third party recruiting system and will be utilizing something ADP offers and therefore need to get that legacy data into the new system.

    Appreciate the help! This is the best technical forum!!

    Lisa