Storage Software
1752701 Members
6911 Online
108789 Solutions
New Discussion юеВ

SSSU: CMD & XML

 
NK_forumuser
Advisor

SSSU: CMD & XML

I can not read the xml file when i am tried to use cmd.

cmd file that runs:

sssu.exe > C:\eva3.xml "select manager localhost" "select system EVA" "ls HOST FUll XML"

The output is eva3.xml

But i receive error when i open the eva3.xml with XML-viewer.

The error is:
Invalid at the top level of the document

I see that .xml file have some information is not xml

What is the soluition?

Tips:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1220430844604+28353475&threadId=1247567

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1258787
2 REPLIES 2
NK_forumuser
Advisor

Re: SSSU: CMD & XML

And i do not want to modifice the xml.

It must simple to read the xml.
NK_forumuser
Advisor

Re: SSSU: CMD & XML

In the batch-file:

ECHO ^ >test.xml
sssu.exe > C:\eva3.xml "select manager localhost" "select system EVA" "ls HOST FUll XML"
ECHO ^
>>test.xml