Bernie,
References: At W3C, check for pattern: http://www.w3.org/TR/xmlschema-0/ At XFont, check out the PowerPoint Presentation under 'Tutorials/XML Schema Tutorial'. http://www.xfront.com/ > How can I support output formatting for things like dates? Make use of Regular Expressions, see for more information on this the XML Schema tutorial 1, sheet 83-90. Create a restriction with a pattern (= regular expression). Example fromt sheet 87: ---------------------------------------------------------------------------- ---- <xsd:simpleType name="money"> <xsd:restriction base="string"> <xsd:pattern value="\p{Sc}\p{Nd}+(\.\p{Nd}\p{Nd})?"/> </xsd:restriction> </xsd:simpleType> <xsd:element name="cost" type="money"/> ---------------------------------------------------------------------------- ---- Tjeerd This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
