[erlang-questions] Problem with xmerl - xml parsing
Wed Apr 1 14:27:32 CEST 2009
Perhaps the biggest issue here is that, in XML, space preservation is
only defined for the element values/content, not for attributes. It
may help to review the XML specs particularly the definition of
attribute values, and then you'll understand that erlang's xmerl is,
in fact, working correctly.
On Apr 1, 5:30 am, Sreenivasan K <sreenivasan.sreer...@REDACTED>
> \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 .
> erlang-questions mailing list
More information about the erlang-questions