czy wiesz, czy istnieje różnica między tymi tagami w XML/XSD?Jaka jest różnica między <a_element /> a <a_element xsi: nil = "true" />?
<a_element /> and <a_element xsi:nil="true"/>
np:
<SpreadCurve>
<Index>3M</Index>
<IndexNumber>4587</IndexNumber>
<BusinessArea xsi:nil="true" />
</SpreadCurve>
and
<SpreadCurve>
<Index>3M</Index>
<IndexNumber>4587</IndexNumber>
<BusinessArea />
</SpreadCurve>
Są one równoważne?
Jeśli mam element xsd:
<xsd:element name="BusinessArea" type="xsd:string"/>
oznacza to, że jest domyślnie xsi: nil = "false". A to oznacza, że nie zaakceptuje wartości pustej dla tego elementu.
Wątpię, czy przyjmie to?
<BusinessArea />
Co to naprawdę oznacza dla XSD?
poważaniem
Podobne zapytania XML zamiast xsd: [Co robi i: nil = „true” oznacza? ] (http://stackoverflow.com/questions/463597/what-does-inil-true-mean) –