public string Visit(JLMLDocument value) { BaseScript = value; pageContext.AddRange(value.Attributes.Cast <HeaderValue>().ToDictionary(o => o.Attribute, e => e.Value)); // Get values that could only be attributes in html IEnumerable <string> objList = ResolveChildElementsOptions(value.Children).Select(o => o.Accept(this)); return(HtmlGenerator.CreateHtmlBase(pageContext, objList)); }