🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #346155

xml xmlns lazarus

#346155
From: J-23
Date: Fri, 27 Oct 2017 20:50
25 lines
1592 bytes
Witam
próbuje w lazarusie obsłużyć XML i chce dodać 
xmlns="http://schemas.openxmlformats.org/package/2006/content-types">

Do węzła TYPES lecz bez powodzenia, co robie źle?

var
   XMLFile: TXMLDocument;
begin
   try
     XMLFile := TXMLDocument.Create;
     FRootType := XMLFile.CreateElement('TYPES');
     XMLFile.AppendChild(FRootType);
 
XMLFile.CreateElementNS('http://schemas.openxmlformats.org/package/2006/content-types','TYPES');

     WriteXML(XMLFile, FFileName);
   finally
     XMLFile.Free;
   end;

Plik i węzeł jest tworzony

Pozdrawiam
Technical Details
Message-ID: <59f39c1e$0$5163$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer01.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer01.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Newsgroups: pl.comp.lang.delphi
X-Mozilla-News-Host: news://news.neostrada.pl:119
From: J-23 <Baczeklu@poczta.fm>
Subject: xml xmlns lazarus
Date: Fri, 27 Oct 2017 22:50:37 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
Lines: 25
Message-ID: <59f39c1e$0$5163$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 188.146.98.8
X-Trace: 1509137438 unt-rea-a-01.news.neostrada.pl 5163 188.146.98.8:36666
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Body-CRC: 480365375
X-Received-Bytes: 1512
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit