Subato

Resource Files

Ein Parser für XML Dokumente

Studieren Sie das Aufgaben-Papier zum XML-Parser und lösen Sie die dort enthaltenen Aufgaben.


> module ParseXML where > import XML > import OurParserLib > import Data.Char > import Data.List > name :: Parser Char Name > name xs = [] > closeTag :: Parser Char Name > closeTag xs = [] > value :: Parser Char Value > value xs = [] > attribute :: Parser Char Attribute > attribute xs = [] > attributes :: Parser Char [Attribute] > attributes xs = [] > openTag :: Parser Char (String, [Attribute]) > openTag xs = [] > text :: Parser Char XML > text xs = [] > element xs = [] > node :: Parser Char XML > node xs = [] > content :: Parser Char [XML] > content xs = []
lhs
You are not logged in and therefore you cannot submit a solution.