jedistev
03-03-2009, 02:30 PM
hi
i have try pint output xml on PHP files for drupal
here is sample
<msgOther audience="internal">
<title>Additional Developer Information</title>
<lines>
PRODUCT = 283C SE SES Backplane COMPONENT = 283C SES
CUST. MSG ID = CPPEA02 SERVICE ACTION: YES
@REPORTING_LEVEL = CALL_HOME A non-fatal error occurred
on power supply 1. The power supply continues to run,
but should be replaced.
</lines>
</msgOther>
<msgOther audience="internal external">
<title>Failing Item</title>
<ul>
<li>DISKPWR</li>
<li>DISKFAN</li>
<li>FI01106</li>
<li>DEVBPLN</li>
</ul>
</msgOther>
</msgBody>
this is xml
and php which i wrote code
print $xmlobj->msgBody->msgOther_audience="internal"->title ."<br />";
print $xmlobj->msgBody->msgOther_audience="internal external" ."<br />";
seems results came out on PHP which blank
where do i go wrong, any advice would be great
i have try pint output xml on PHP files for drupal
here is sample
<msgOther audience="internal">
<title>Additional Developer Information</title>
<lines>
PRODUCT = 283C SE SES Backplane COMPONENT = 283C SES
CUST. MSG ID = CPPEA02 SERVICE ACTION: YES
@REPORTING_LEVEL = CALL_HOME A non-fatal error occurred
on power supply 1. The power supply continues to run,
but should be replaced.
</lines>
</msgOther>
<msgOther audience="internal external">
<title>Failing Item</title>
<ul>
<li>DISKPWR</li>
<li>DISKFAN</li>
<li>FI01106</li>
<li>DEVBPLN</li>
</ul>
</msgOther>
</msgBody>
this is xml
and php which i wrote code
print $xmlobj->msgBody->msgOther_audience="internal"->title ."<br />";
print $xmlobj->msgBody->msgOther_audience="internal external" ."<br />";
seems results came out on PHP which blank
where do i go wrong, any advice would be great