Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

XML Data export in datawindow

$
0
0

Hi Friends,

 

I have a assignment to export the data in XML format in datawindow. I need to display the schema definitions as per following formats

 

Two sample elements as below

 

</xs:element>

<xs:element name="TotIncomeBatch"> <!-- Total Income in Batch -->

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:minLength value="1"/>

<xs:maxLength value="11" />

<xs:pattern value="[0-9]*" />

</xs:restriction>

</xs:simpleType>

</xs:element>

 

<xs:element name="Surname"> <!-- Employee's Surname -->

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:minLength value="1"/>

<xs:maxLength value="20" />

<xs:pattern value="[A-Za-z'\.\-]*" />

</xs:restriction>

</xs:simpleType>

</xs:element>

 

How to define the above elements like restriction base, minlength, maxlength, patterns in the datawindow XML properties window?

 

Using Powerbuilder V 11.2 Build 8616

 

Thanks,

ANA


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>