5e5d86 | 2000-01-28 | Martin Stjernholm | |
|
d3b726 | 2000-02-12 | Martin Stjernholm | |
|
5e5d86 | 2000-01-28 | Martin Stjernholm | |
|
d8769c | 2000-02-08 | Martin Stjernholm | |
|
5e5d86 | 2000-01-28 | Martin Stjernholm | |
inherit RXML.PHtml;
constant add_tag = 0;
constant add_tags = 0;
constant add_container = 0;
constant add_containers = 0;
this_program clone (RXML.Context ctx, RXML.Type type, RXML.TagSet tag_set)
{
|
dddb44 | 2000-01-28 | Martin Stjernholm | | return [object(this_program)] _low_clone (ctx, type, tag_set);
|
5e5d86 | 2000-01-28 | Martin Stjernholm | | }
static void create (
RXML.Context ctx, RXML.Type type, RXML.TagSet tag_set)
{
_tag_set_parser_create (ctx, type, tag_set);
|
d3b726 | 2000-02-12 | Martin Stjernholm | | if (type->quoting_scheme != "xml") {
array(RXML.TagSet) list = ({tag_set});
for (int i = 0; i < sizeof (list); i++) {
array(RXML.TagSet) sublist = list[i]->imported;
if (sizeof (sublist))
list = list[..i] + sublist + list[i + 1..];
}
for (int i = sizeof (list) - 1; i >= 0; i--)
if (list[i]->low_entities) add_entities (list[i]->low_entities);
|
0923e9 | 2000-02-08 | Martin Stjernholm | | }
|
5e5d86 | 2000-01-28 | Martin Stjernholm | | mixed_mode (!type->free_text);
|
4703fd | 2000-02-11 | Martin Stjernholm | | ignore_tags (1);
|
5e5d86 | 2000-01-28 | Martin Stjernholm | | lazy_entity_end (1);
match_tag (0);
|
dddb44 | 2000-01-28 | Martin Stjernholm | | _set_entity_callback (.utils.p_html_entity_cb);
if (!type->free_text) _set_data_callback (.utils.return_empty_array);
|
5e5d86 | 2000-01-28 | Martin Stjernholm | | }
void add_runtime_tag (RXML.Tag tag) {}
void remove_runtime_tag (string|RXML.Tag tag) {}
#ifdef OBJ_COUNT_DEBUG
string _sprintf() {return "RXML.PEnt(" + __count + ")";}
#else
string _sprintf() {return "RXML.PEnt";}
#endif
|