OPA mapi syntax error -
Then I have a database record that has a field with a list (string), I changed this list to strings Want to show some XHTML?
I have written the following function:
display_lp (path) = (list.mpeg (x, careteppi -> gt; & lt; div class = "show_content" id = # Show_content> {x}: & lt; textarea class = "edit_content" id = # edit_content_lp cols = "20" lines = "1"> {characterlp} y XMLConvert.of_list_using ("", "", "", y)) though not compiled Does. It gives me a syntax error:
Syntax error on sentence 270, column 188, error may occur in the following quote, usually in the red section (starts in the beginning) or simply < Lt; & Lt;) void)
display_lp (path) = (list.mp3 (x, carelpi -> gt; {}}: {characterlp}), / character [path] / lifepaths - & gt; Y XMLConvert.of_list_using ("", "", "", y))
display (path) = (
& gt; sign
What am I doing wrong here?
I think what you want to do:
display_lp (path) = y = List.mapi (x, alphabet - -> {x}: & lt; textarea class = "edit_content" id = # edit_content_lp column = "20" lines = "1" & gt; {characterlp} & lt; / Textarea & gt; ; & Lt; / div & gt; / [path] / lifepaths) XmlConvert .of_list_using (> ; , Secondly, I have your - & After y >> / character [path] / lifepath , I think you want to keep the result of List.mapi in the y variable. Finally, the signature for XmlConvert is: xHTML, xhtml, xhtml, list (xhtml) This means that before you 3 arguments must be provided for typing XHTML, which is not compatible with "string" :)
XHTML is equivalent to
Hope that will solve your problem. / P>
Comments
Post a Comment