From: <cin...@we...> - 2015-07-23 21:25:23
|
<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi all,</div> <div> </div> <div>I have two issues:</div> <div> </div> <div>1.</div> <div> </div> <div>when I import the following xsd it will suppress the second node of identifier.</div> <div> </div> <div><?xml version="1.0" encoding="UTF-8"?><br/> <xsd:schema targetNamespace="urn:namespace" xmlns:xsd="<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>" xmlns="urn:namespace"><br/> <xsd:complexType name="recursionTestinCamEd"><br/> <xsd:sequence><br/> <xsd:element name="identifiers"><br/> <xsd:complexType><br/> <xsd:sequence><br/> <xsd:element name="identifier" maxOccurs="unbounded"><br/> <xsd:complexType><br/> <xsd:sequence><br/> <xsd:element name="identifier"><br/> <xsd:complexType><br/> <xsd:sequence><br/> <xsd:element name="data" type="xsd:string"/><br/> </xsd:sequence><br/> <xsd:attribute name="attributeValue" type="xsd:string"/><br/> </xsd:complexType><br/> </xsd:element><br/> </xsd:sequence><br/> </xsd:complexType><br/> </xsd:element><br/> </xsd:sequence><br/> </xsd:complexType><br/> </xsd:element><br/> </xsd:sequence><br/> </xsd:complexType><br/> </xsd:schema></div> <div> </div> <div>2. I have the following xml and I want to make name repeatable only from the second node /message[1]/name[2] it is not storing the rule.</div> <div> </div> <div><message><br/> <name use="%value%"><br/> <part id="%value%" /><br/> <part id="%value%" /><br/> </name><br/> <name use="%value%"><br/> <part id="%value%" /><br/> <part id="%value%" /><br/> </name><br/> </message></div> <div> </div> <div>br</div> <div>cinu</div> <div> </div></div></body></html> |