Здравствуйте!
Вообщем, задача заключается в следующем...
Экспортирую таблицу с InDesign в xml-документ... Имеет следующий вид:
SQL |
<Table2 xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/" aid:table="table" aid:trows="15" aid:tcols="9"> <Cell aid:table="cell" aid:crows="1" aid:ccols="9"><Text>Дизайн випробування</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="45.94996368167904"><Text>Рандомизоване:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="19.907048007034064"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="20.128629921259858"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="6"></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="45.94996368167904"><Text>Контрольоване:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="19.907048007034064"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="20.128629921259858"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>Якщо «так», уточніть:</Text></Cell> <Cell aid:table="cell" aid:crows="2" aid:ccols="3"></Cell> <Cell aid:table="cell" aid:crows="9" aid:ccols="3"></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="29.942664927244948"><Text>Відкрите:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="30.25"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="18.669822834645515"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="29.942664927244948"><Text>Просте сліпе:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="30.25"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="18.669822834645515"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="28.964453641155558"><Text>Подвійне сліпе:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="23.63485826771648"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="17.40257480314949"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="29.942664927244948"><Text>З паралельними групами:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="30.25"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="18.669822834645515"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="28.964453641155558"><Text>Перехресне:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="23.63485826771648"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="17.40257480314949"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="29.942664927244948"><Text>Інше:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="30.25"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="18.669822834645515"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>Якщо «так», уточніть:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>Укажіть препарат порівняння:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>- інший(і) лікарський(і) засіб(и)</Text></Cell> <Cell aid:table="cell" aid:crows="7" aid:ccols="1" aid:ccolwidth="28.964453641155558"></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="23.63485826771648"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="17.40257480314949"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>- плацебо</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="23.63485826771648"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="17.40257480314949"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>- інше</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="23.63485826771648"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="17.40257480314949"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text>якщо «інше», уточніть:</Text></Cell> <Cell aid:table="cell" aid:crows="4" aid:ccols="2"></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="2"><Text>Одноцентрове (див. також розділ I):</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="20.128629921259858"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="2"><Text>Багатоцентрове (див. також розділ I):</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="20.128629921259858"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text> Ні </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="2"><Text>Міжнародне випробування:</Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="20.128629921259858"><Text> Так </Text></Cell> <Cell aid:table="cell" aid:crows="1" aid:ccols="3"><Text> Ні </Text></Cell> </Table2> |