Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-09-2024, 10:23 AM
Italophile Italophile is offline Convert XML to Word(Content Control) Windows 11 Convert XML to Word(Content Control) Office 2021
Expert
 
Join Date: Mar 2022
Posts: 554
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

I can't remember what support Word 2013 has for custom xml parts.

In Word 365 from the XML Mapping pane I can:
  1. load your xml file,
  2. map the fields of the first record to content controls
  3. add a manual page break after the last field
  4. select all the above
  5. then map the records to a repeating section content control
This results in all records being added to the document, with each one on its own page.

One point to note is that your xml file does not have a namespace. Whilst not critical it is useful to have the namespace to identify the xml part.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjust content antd line spacing in word table according to checkbox content control state AVarg123 Word VBA 13 01-10-2024 03:36 PM
Convert XML to Word(Content Control) Change Value of a Content Control based on the value of another content Control jsc_msoffice Word VBA 2 05-21-2021 09:51 PM
Convert XML to Word(Content Control) Content Control Dropdowns - How to duplicate the content control and allow a second choice ashleyf Word VBA 2 03-19-2020 09:11 AM
Convert XML to Word(Content Control) Clicking the selected Content Control checkbox returns wrong control in vba event DougsGraphics Word VBA 2 06-24-2015 07:31 AM
Convert XML to Word(Content Control) Deleting a table from a content control -- preserving the content control BrainSlugs83 Word Tables 8 11-14-2013 03:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft