[erlang-questions] Problem with xmerl - xml parsing

Sreenivasan K sreenivasan.sreeramu@REDACTED
Wed Apr 1 12:30:23 CEST 2009

\n problem in xml file .

This is my xml file (test.xml)

<test method="one

This is my erlang file test_parse.erl



this is the output i got when i run the program

Out put is the xmlElement recort and for the string in xml file it is
parsing as "one    two     three" but this i had not expected i
experted \n in between one ,two and three. . And one more point i cant
put \n inside the string if i put \n in between the strings it parser
and displays as "\\n" i need only one \n is there is any way to put \n
inside the string .

More information about the erlang-questions mailing list