Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How will you convert the returned API into an XML object?

  2. A.

     SimpleElement()

    B.

     SimpleXMLElement()

    C.

     XMLElement()

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The API returned by the method file_get_contents() can be converted into an XML object using the method SimpleXMLElement().


Be The First To Comment