Home » railML newsgroups » railml.rollingstock » valueTableType
Re: valueTableType [message #1176 is a reply to message #1173] Tue, 12 July 2005 15:01 Go to previous message
Joerg von Lingen is currently offline  Joerg von Lingen
Messages: 148
Registered: May 2011
Senior Member
Martin,

yes, this was clearly a mistake. It will be rectified in the new schema version.

<xsd:element name="valueLine" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>set of values related to a speed value (one table line)</xsd:documentation>
<xsd:documentation>History:
V0.93 added
V1.01 changed maxOccurs to "unbounded" to allow one line per speed value</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="values" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>the values related to a speed value themselves</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="speedValue" type="xsd:decimal" use="required"/>
</xsd:complexType>
</xsd:element>

Regards,
Jörg von Lingen

Martin Jacob wrote the following on 30.06.2005 17:29:

> Hello,
>
> I would like to ask how to use the valueTableType with more than one row. As I understand the element valueLine should
> can occure at least once up to undounded but at the moment it has to occure exactly once.
>
> May we change the occurance of valueLine to 1..*?
>
> Martin
 
Read Message
Read Message
Previous Topic: propulsion
Next Topic: formationType vs. compositionType
Goto Forum:
  


Current Time: Mon May 06 02:22:00 CEST 2024