Experimental xml set up

Begah via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 2 08:00:19 PDT 2017


On Sunday, 2 April 2017 at 14:15:50 UTC, rikki cattermole wrote:
> On 02/04/2017 2:58 PM, Begah wrote:
>> [...]
>
> Quite out of date.
>
> Here is some code that worked for me:
>
> string raw_input = ...;
>
> 	auto domBuilder = raw_input
> 		.lexer
> 			.parser
> 			.cursor((CursorError err){})
> 			.domBuilder;
> 	domBuilder.setSource(raw_input);
> 	domBuilder.buildRecursive;
> 	auto dom = domBuilder.getDocument;

Dub/Dmd still complains that there is no property/function 
'lexer' for type string.


More information about the Digitalmars-d-learn mailing list