The document is by the guy who wrote the element and it explains how you can write an XML document that has the same structure as a HTML document. This is what HTML really is, so the fact that you can write an XML document that has the same structure as HTML is really cool. In addition, this is also why writing in new XML tags in your HTML document is a good idea.
The whole idea around this is that document.onpropertychange can trigger a property change event and then you just need to pass it the color in the document.ViewState.BGColor. It seems a bit kludgy at first, but it works well.
The biggest problem with this solution is that it only works if its in the same document. But then we have to worry about calling something that’s not in the document. And since we can’t rely on document.onpropertychange to have a viewstate variable that we can use, we’ll have to use the native document.onpropertychange event.
In general, the ViewState and Document properties work fine, but there is one problem with them. The ViewState is a property of the document, and a document can only have properties from the document it belongs to. So if you have a document with a ViewState property that is in a different document, the document won’t update. The ViewState can be a readonly property, but it needs to be an actual property of the document being modified so that it can be updated.
If you have a document that has a Document property that is readonly, it’s going to be a bit tricky. You need a reference to the document to get the Document property to update. I’ve found that if I have a reference to the Document property in my document, the Document property can be updated with a reference to the Document property.
ick. you can easily get around the problem by copying the Document property and pasting it into your.xml document, but that seems like a bit of a hack. Hopefully it will be fixed in a future release.