|
"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
|