This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have some custom nodes which have some Custom built entities bound to them via the Data Property. When I try to use the FlowDiagramXmlSerializer to save the diagram to xml I get the following Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel setting is set to ConformanceLevel.Fragment or ConformanceLevel.Auto if you want to write an XML fragment.
If I change the settings to conformance fragment I get another error stating that I cannot write a start tag as a Fragment. How do I get around this so I can serialize the diagram with my custom data? Thanks |
|
|
Hello Greg Just to clarify, you are using WPF Diagrams 1.0 and have provided custom xml serialization for the node data which you want to do using a nested tag. If so, unfortunatly you can not serialize node data using a nested tag, the serializer only supports writing data as attributes. WPF Diagrams 2.0 however has much better support for custom serialization, including writing data objects in nested tags. - Jason |
|