Home » railML newsgroups » railml.rollingstock » valueTableType
valueTableType [message #1173] Thu, 30 June 2005 17:29 Go to next message
Martin Jacob is currently offline  Martin Jacob
Messages: 4
Registered: January 2006
Junior Member
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
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: 59
Registered: May 2011
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
Previous Topic: propulsion
Next Topic: formationType vs. compositionType
Goto Forum:
  


Current Time: Sat May 27 02:25:47 CEST 2017