[fontsize=3]Hallo[/fontsize]
[fontsize=3]Habe mal ein kleines Problem. Ich baue gerade ein pdf, hinter dem ein XML-Schema für die Datenanbindung steht. Das klappt soweit völlig schmerzfrei. Probleme habe ich nur bei einem erweiterbaren Teilformular. [/fontsize]
[fontsize=3]Dieses besteht aus 4 Textfeldern welche über eine Schaltfläche ([/fontsize]addInstance(1)[fontsize=3]) erweitert werden können. (siehe Bild)[/fontsize]
[fontsize=3]Auch easy. In meinem XML-Schema (unten angefügt) habe ich dazu eine Sequence definiert, welche vom Designer auch als „Geordnete Gruppe“ erkannt wird. (Siehe Bild)[/fontsize]
[fontsize=3]Felder binden kann ich auch Prima, nur im Export schreibt er immer nur die Werte aus dem ersten Teilformular in die XML-Datei.[/fontsize]
[fontsize=3]Weiß jemand Hilfe?[/fontsize]
[fontsize=3] [/fontsize]
[fontsize=3]Vielen Dank !![/fontsize]
[fontsize=3]Ausschnitt Schema:[/fontsize]
[fontsize=3][font=Times New Roman]<xs:sequence id="seq1" minOccurs="1" maxOccurs="unbounded">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <!-- Abfrage Familienname -->[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:element name="Vertreter_Name_1">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:restriction base="xs:string">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:minLength value="1"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:maxLength value="35"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:restriction>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:element>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <!-- Abfrage Vorname -->[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:element name="Vertreter_Name_2">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:restriction base="xs:string">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:minLength value="1"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:maxLength value="35"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:restriction>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:element>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <!-- Abfrage Titel -->[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:element name="Vertreter_Titel">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:restriction base="xs:string">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:minLength value="0"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:maxLength value="20"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:restriction>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:element>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <!-- Abfrage Anrede (Geschlecht) -->[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:element name="Vertreter_Anrede">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:restriction base="xs:string">[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:enumeration value="Frau"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] <xs:enumeration value="Herr"/>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:restriction>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:simpleType>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:element>[/font][/fontsize]
[fontsize=3][font=Times New Roman] </xs:sequence>[/font][/fontsize]
Teilformulare und XML-Sequence
Teilformulare und XML-Sequence
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.