danik.js, если качать через http.get или request то оно будет так. Я только низ обрезал, а то не влазило
Код:
|
<?xml version="1.0" encoding="utf-8"?>
<activities>
<activity>
<id>8550</id>
<subject>4445</subject>
<type>2</type>
<teachers>
</teachers>
<students>
<student>3</student>
<student>624</student>
<student>625</student>
<student>626</student>
</students>
<room status="true">37</room>
<planned status="true">
<weekday>2</weekday>
<start_time>18:00:00</start_time>
<work_length>2:00:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>4</group>
<groups>5</groups>
</activity>
<activity>
<id>8552</id>
<subject>4445</subject>
<type>2</type>
<teachers>
</teachers>
<students>
<student>3</student>
<student>624</student>
<student>625</student>
<student>626</student>
</students>
<room status="true">37</room>
<planned status="true">
<weekday>4</weekday>
<start_time>18:00:00</start_time>
<work_length>2:00:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>1</group>
<groups>5</groups>
</activity>
<activity>
<id>8551</id>
<subject>4445</subject>
<type>2</type>
<teachers>
</teachers>
<students>
<student>3</student>
<student>624</student>
<student>625</student>
<student>626</student>
</students>
<room status="true">37</room>
<planned status="true">
<weekday>3</weekday>
<start_time>18:00:00</start_time>
<work_length>2:00:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>2</group>
<groups>5</groups>
</activity>
<activity>
<id>8102</id>
<subject>4254</subject>
<type>2</type>
<teachers>
<teacher>36</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">41</room>
<planned status="true">
<weekday>5</weekday>
<start_time>11:30:00</start_time>
<work_length>3:00:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>4</group>
<groups>16</groups>
</activity>
<activity>
<id>8144</id>
<subject>4262</subject>
<type>3</type>
<teachers>
<teacher>2284</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">93</room>
<planned status="true">
<weekday>5</weekday>
<start_time>08:30:00</start_time>
<work_length>1:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>4</group>
<groups>11</groups>
</activity>
<activity>
<id>8802</id>
<subject>4552</subject>
<type>3</type>
<teachers>
<teacher>1966</teacher>
</teachers>
<students>
<student>482</student>
<student>626</student>
</students>
<room status="true">30</room>
<planned status="true">
<weekday>5</weekday>
<start_time>14:30:00</start_time>
<work_length>2:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>1</group>
<groups>4</groups>
</activity>
<activity>
<id>8803</id>
<subject>4552</subject>
<type>3</type>
<teachers>
<teacher>1966</teacher>
</teachers>
<students>
<student>482</student>
<student>626</student>
</students>
<room status="true">95</room>
<planned status="true">
<weekday>5</weekday>
<start_time>14:30:00</start_time>
<work_length>2:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>2</group>
<groups>4</groups>
</activity>
<activity>
<id>8896</id>
<subject>4577</subject>
<type>1</type>
<teachers>
<teacher>539</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">95</room>
<planned status="false"></planned>
<group>2</group>
<groups>2</groups>
</activity>
<activity>
<id>8888</id>
<subject>4573</subject>
<type>1</type>
<teachers>
<teacher>68</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">95</room>
<planned status="false"></planned>
<group>2</group>
<groups>2</groups>
</activity>
<activity>
<id>8880</id>
<subject>4258</subject>
<type>2</type>
<teachers>
<teacher>400</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">39</room>
<planned status="true">
<weekday>2</weekday>
<start_time>10:15:00</start_time>
<work_length>1:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>16</group>
<groups>16</groups>
</activity>
<activity>
<id>8892</id>
<subject>4575</subject>
<type>1</type>
<teachers>
<teacher>1019</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">30</room>
<planned status="false"></planned>
<group>2</group>
<groups>2</groups>
</activity>
<activity>
<id>8910</id>
<subject>4264</subject>
<type>3</type>
<teachers>
<teacher>2341</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">30</room>
<planned status="true">
<weekday>2</weekday>
<start_time>13:00:00</start_time>
<work_length>1:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>11</group>
<groups>11</groups>
</activity>
<activity>
<id>8882</id>
<subject>4260</subject>
<type>2</type>
<teachers>
<teacher>2</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">37</room>
<planned status="true">
<weekday>5</weekday>
<start_time>11:45:00</start_time>
<work_length>1:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>16</group>
<groups>16</groups>
</activity>
<activity>
<id>8878</id>
<subject>4262</subject>
<type>3</type>
<teachers>
<teacher>1966</teacher>
</teachers>
<students>
<student>626</student>
</students>
<room status="true">27</room>
<planned status="true">
<weekday>4</weekday>
<start_time>08:30:00</start_time>
<work_length>1:30:00</work_length>
<break_length>0:00:00</break_length>
</planned>
<group>11</group>
<groups>11</groups>
</activity>
:00:00</break_length> |