使用php&读取xml文本编辑器文件(对于mac)转换为数组

时间:2014-01-23 10:27:29

标签: php xml

[
  {
    "ID": "50e51efe6ebef7134c0fb581",
    "Text": "A patient asks to be tested for Lyme disease.  She had been bitten by a tick and removed it herself this morning.  What is be most appropriate action?",
    "Correct": 0,
    "Answers": [
      "Disinfect the skin around the bite area and instruct the patient to return if arthralgia other concerning symptoms develop.",
      "Advise the patient to return in 4-6 weeks, when testing will yield reliable results",
      "Refer the patient to a physician for a precautionary administration of antibiotics",
      "Obtain a blood sample for immediate testing"
    ],
    "Media": "",
    "Explanation": "Lyme disease is difficult to detect, especially so soon after a tick bite and in the absense of symptoms.  The patient should return after some time if arthralgia or other symptoms develop.  "
  },
  {
    "ID": "50e51efe6ebef7134c0fb582",
    "Text": "Which of the following is part of a standard treatment plan for a diagnosis of stage I Lyme disease?",
    "Correct": 0,
    "Answers": [
      "A topical antihistamine to reduce symptoms",
      "No treatment unless the disease progresses to stage II or stage III",
      "Administration of oral antibiotics",
      "Administration of intravenous antibiotics"
    ],
    "Media": "",
    "Explanation": "Stage I is called Early Localized Lyme Disease. The infection is not yet widespread throughout the body.  This is treated with a topical antihistamine to reduce itching and swelling."
  }
]

0 个答案:

没有答案