Thread Subject: XMLwrite

Subject: XMLwrite

From: Joe Frank

Date: 2 Apr, 2009 13:55:04

Message: 1 of 3

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.

Subject: XMLwrite

From: Joe Frank

Date: 2 Apr, 2009 14:28:02

Message: 2 of 3

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

Subject: XMLwrite

From: Titus

Date: 2 Apr, 2009 15:19:56

Message: 3 of 3


"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

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com