Changing schema at runtime.. 2003-08-08 - By Kishor Atigre
Hi All
I want to know, if there is any way to change the schema at runtime. What I mean is , for eg in the following extract, the maxlength is set to 32767.
<xsd:element name="description" > <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="32767"/> </xsd:restriction> </xsd:simpleType> </xsd:element>
What I want to do is to set this value at runtime programmatically. Is this possible at all or are there any work arounds. I don't want to create, a separate schema file for each possible value that I want to set.
Thanks in advance ksa
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content=text/html;charset=iso-8859-1> <STYLE></STYLE>
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD> <BODY id=MailContainerBody style="PADDING-LEFT: 10px; FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #000000 ; BORDER-TOP-STYLE: none; PADDING-TOP: 15px; FONT-STYLE: normal; FONT-FAMILY: Verdana; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; TEXT-DECORATION: none; BORDER-BOTTOM-STYLE: none" leftMargin=0 topMargin=0 acc_role="text" CanvasTabStop="true" name="Compose message area"><?xml:namespace prefix="v" /><?xml:namespace prefix ="o" /> <DIV>Hi All</DIV> <DIV> </DIV> <DIV>I want to know, if there is any way to change the schema at runtime.</DIV> <DIV>What I mean is , for eg in the following extract, the maxlength is set to 32767.</DIV> <DIV> </DIV> <DIV> <xsd:element name="description" ><BR> <xsd:simpleType><BR> <xsd:restriction base="xsd:string"><BR> <xsd:maxLength value="32767"/><BR> </xsd:restriction><BR > </xsd:simpleType><BR> </xsd :element></DIV> <DIV> </DIV> <DIV>What I want to do is to set this value at runtime programmatically.</DIV> <DIV>Is this possible at all or are there any work arounds. I don't want to create, a separate</DIV> <DIV>schema file for each possible value that I want to set.</DIV> <DIV> </DIV> <DIV>Thanks in advance</DIV> <DIV>ksa<BR></DIV></BODY></HTML>
|
|