g8r777 Posted July 28, 2011 Share Posted July 28, 2011 Let me start by saying that I am completely new to XML. What I am trying to accomplish is to limit the number of characters that can be entered into a plain or rich text content control in Word. This used to be possible with legacy controls but I am trying to avoid using them or VBA if I can help.I understand from various searches that this may be possible using XML.This website http://www.w3schools.com/schema/schema_facets.asp has the following code: <xs:element name="password"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="5"/> <xs:maxLength value="8"/> </xs:restriction> </xs:simpleType></xs:element> I am attempting to use the Word 2007 Content Control Toolkit (freeware program designed specifically to modify the XML code attached to a Word document) to enter this code but I'm not sure how to get this code to work with my content control.Any help would be greatly appreciated.Thank you,Brian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.