|
|
Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
My own XSD contains structural data only whereas when it is added to the Word XML this data content is mixed with WordML Schema and the boilerplate text of my Word template and it resembles XHTML. If I save as data only I don't just get the data as specified by my schema but also get the elements include the boilerplate text.
For example: <myschema:data_set> This is my data item:<myschema:data_item1>904</myschema:data_item1> <myschema:data_set>
Here the boilerplate text "This is my data item:" is a text value of <myschema:data_set>. This would not be valid in my original schema which doesn't allow mixed content here.
My question is, what is the best way produce a pure data xml file from a Word XML file excluding the boilerplate text as well as the WordML schema content.
Any suggestions would be much appreciated.
Thanks Redge.
|
|
OK - I have worked it out myself: XML options > XML structure pane and check 'Ignore Mixed content' and check 'Allow saving as XML even if not valid'. This provides you with just your custom XML without any WordML or boilerplate text. Redge
|
|
|