|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Create XML
- To: "lists.xml.org" <xml-dev@l...>
- Subject: Create XML
- From: "Mehmet AVSAR" <mavsar@o...>
- Date: Thu, 12 Jun 2003 18:20:21 +0300

|
Hi Friends,
I must create a XML file in Delphi. But i don't
know XML. I have a XML file format.
<?xml version="1.0"
standalone="yes"?> <DATAPACKET Version="2.0"> <METADATA>
<FIELDS> <FIELD attrname="ADI_SOYADI" fieldtype="string"
WIDTH="35"/> <FIELD attrname="FIRMA_UNVANI" fieldtype="string"
WIDTH="35"/> <FIELD attrname="TELEFON" fieldtype="string"
WIDTH="15"/> <FIELD attrname="E_POSTA" fieldtype="string"
WIDTH="50"/> <FIELD attrname="IDO_REF_NO" fieldtype="string"
WIDTH="13"/> <FIELD attrname="ADRES" fieldtype="string"
WIDTH="140"/> <FIELD attrname="POSTA_KODU" fieldtype="string"
WIDTH="8"/> <FIELD attrname="SATIS_TARIHI" fieldtype="string"
WIDTH="10"/> <FIELD attrname="SATIS_SAATI" fieldtype="string"
WIDTH="8"/> <FIELD attrname="TESLIM_OLACAK_TARIH" fieldtype="string"
WIDTH="10"/> <FIELD attrname="TESLIM_OLACAK_SAAT" fieldtype="string"
WIDTH="8"/> <FIELD attrname="MKURKE_OPB_KODU" fieldtype="string"
WIDTH="3"/> <FIELD attrname="BILETLER" fieldtype="nested">
<FIELDS> <FIELD attrname="BILET_NO" fieldtype="string"
WIDTH="15"/> <FIELD attrname="BILET_DEGER" fieldtype="string"
WIDTH="15"/> </FIELDS> <PARAMS/> </FIELD>
</FIELDS> <PARAMS/> </METADATA>
<ROWDATA> </ROWDATA> </DATAPACKET>
I create this file with TMemo line.
Memo1.Lines.Add('<ROW');
Memo1.Lines.Add('ADI_SOYADI="'+Query1Namesurname.AsString+'"');
--------
Memo1.Lines.Add('/>');
But i can not add sub item for
<FIELD attrname="BILETLER"
fieldtype="nested"> <FIELDS> <FIELD attrname="BILET_NO"
fieldtype="string" WIDTH="15"/> <FIELD attrname="BILET_DEGER"
fieldtype="string" WIDTH="15"/> </FIELDS>
How can i added it?
Best regards,
Mehmet
|

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
 |
| Atom 0.3 |
 |
| |
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|