| # | Line 330 | Line 330 | string SysMon::getData(){ | |
|---|---|---|
| 330 | // it is the same level, just add this as another element | |
| 331 | if ( isAttrib ){ | |
| 332 | attributes += levels[level+2]; | |
| 333 | < | attributes += "="; |
| 333 | > | attributes += "=\""; |
| 334 | attributes += values[count]; | |
| 335 | < | attributes += " "; |
| 335 | > | attributes += "\" "; |
| 336 | // now check if this is the last element | |
| 337 | ||
| 338 | ||
| # | Line 416 | Line 416 | string SysMon::getData(){ | |
| 416 | std::cout << "\n"; | |
| 417 | } | |
| 418 | ||
| 419 | – | std::cout << xml.returnXML() << endl; |
| 419 | // return the string | |
| 420 | return xml.returnXML(); | |
| 421 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |