Path: news.mathworks.com!not-for-mail
From: "Titus" <titus.edelhofer@mathworks.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: XMLwrite
Date: Thu, 2 Apr 2009 17:19:56 +0200
Organization: The MathWorks, Inc.
Lines: 32
Message-ID: <gr2l2t$s8$1@fred.mathworks.com>
References: <gr2g3o$bmj$1@fred.mathworks.com> <gr2i1h$dia$1@fred.mathworks.com>
NNTP-Posting-Host: ac-edelhoft.ac.mathworks.de
X-Trace: fred.mathworks.com 1238685597 904 172.16.75.150 (2 Apr 2009 15:19:57 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Apr 2009 15:19:57 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:529760



"Joe Frank" <sascod@gmail.com> schrieb im Newsbeitrag 
news:gr2i1h$dia$1@fred.mathworks.com...
> "Joe Frank" <sascod@gmail.com> wrote in message 
> <gr2g3o$bmj$1@fred.mathworks.com>...
>> Hello,
>>
>> I have some questions regarding XMLwrite functions.
>>
>> I have a structure in my workspace and I need to parse that structure & 
>> convert it into XMLfile
>>
>> I have written this function but this doesnt seem to work.
>>
>> function parseStruct(Struct, xmlForm)
>> xml_write('xmlForm.xml', Struct);
>> type('xmlForm.xml')
>>
>> Please help me with this.
>
> Its quite urgent.. Can some1 help me out?

Hi Joe,

where did you get xml_write from? Ask the author. Or do you mean xmlwrite 
(the MATLAB function xmlwrite)? In this case you need to transform the 
structure into a DOM node first (quite the opposite of what is done in the 
doc for xmlread in Example3).

Titus