0
votes

I'm getting below error on validation my XML: "The element has unexpected child element 'http://schemas.openxmlformats.org/drawingml/2006/main:p'. List of possible elements expected: http://schemas.openxmlformats.org/drawingml/2006/main:bodyPr."

Where can I find all the possible and required properties for a element node.

1
Was your question answered or do you need more help? - Thomas Barnekow
Thanks Thomas , EndParagraph property was missing on my paragraph node. After adding it the issue resolved. - rr14
If my answer helped, please accept and upvote. - Thomas Barnekow

1 Answers

0
votes

Have a look at http://www.datypic.com/sc/ooxml/. You can search for the desired Open XML element, e.g., w:p, w:r, or w:pPr.

Another source with additional information is https://c-rex.net/projects/samples/ooxml/e1/index.html. I'm not listing the standard, because that's a document with more than 5.000 pages ...