Title: Custom XML Import Default Values, Required Fields
Last modified: August 30, 2016

---

# Custom XML Import Default Values, Required Fields

 *  [sonicnick](https://wordpress.org/support/users/sonicnick/)
 * (@sonicnick)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/custom-xml-import-default-values-required-fields/)
 * Hi There, I’m trying to migrate custom CMS content with user comments into WP.
   
   I have seen the XML format file example here:
 * [http://google-blog-converters-appengine.googlecode.com/svn/trunk/samples/wordpress-sample.wxr](http://google-blog-converters-appengine.googlecode.com/svn/trunk/samples/wordpress-sample.wxr)
 * But don’t fully understand how all of the values work. `
    Is there a specification
   somewhere that explains what values are required, what can be left out etc to
   still be able to import content? Specifically these meta values
 *     ```
       <wp:postmeta>
       <wp:meta_key>_edit_lock</wp:meta_key>
       <wp:meta_value>1210966825</wp:meta_value>
       </wp:postmeta>
       <wp:postmeta>
       <wp:meta_key>_edit_last</wp:meta_key>
       <wp:meta_value>2575641</wp:meta_value>
       </wp:postmeta>
       ```
   
 * And
    `<wp:comment_id>8</wp:comment_id>` – Iif I leave blank will this be auto
   generated on insert?

The topic ‘Custom XML Import Default Values, Required Fields’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [sonicnick](https://wordpress.org/support/users/sonicnick/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/custom-xml-import-default-values-required-fields/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
