X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.pod;h=a03394249e241da19c8ba20aebd8ab52aac08e40;hb=4d7ffd9750b680d72934879b281bce45448807a4;hp=770409fda241bc1f2a8dd0abdcddc0f6fad6023e;hpb=2d9f516571abb22d42ea26ffaf07bda8a29314f0;p=catagits%2FDOM-Tiny.git diff --git a/README.pod b/README.pod index 770409f..a033942 100644 --- a/README.pod +++ b/README.pod @@ -77,8 +77,8 @@ names are lowercased and selectors need to be lowercase as well. my $dom = DOM::Tiny->new('
Hi!
'); say $dom->at('p[id]')->text; -If XML processing instructions are found, the parser will automatically switch -into XML mode and everything becomes case-sensitive. +If an XML declaration is found, the parser will automatically switch into XML +mode and everything becomes case-sensitive. # XML semantics my $dom = DOM::Tiny->new('Hi!
'); @@ -394,7 +394,7 @@ objects. All selectors listed in L"SELECTORS"> are supported. $dom = $dom->append('I ⥠DOM::Tiny!
'); -Append HTML/XML fragment to this node. +Append HTML/XML fragment to this node (for all node types other than CTest
')->at('i')->parent; =head2 parse @@ -631,7 +634,7 @@ no parent. Parse HTML/XML fragment. # Parse XML - my $dom = DOM::Tiny->new->xml(1)->parse($xml); + my $dom = DOM::Tiny->new->xml(1)->parse('I ⥠DOM::Tiny!
'); -Prepend HTML/XML fragment to this node. +Prepend HTML/XML fragment to this node (for all node types other than C