X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=README.pod;h=fc667fef37d1467389989b3f7b883c376c771166;hb=c0f0ce8910e956686984bd11508cf7df8bd2dcd3;hp=19c666eabd1ec7a11b9d09fbdafb3af78b4314a6;hpb=7218d584be520047d85245f35ec5edc337ac9e13;p=catagits%2FDOM-Tiny.git diff --git a/README.pod b/README.pod index 19c666e..fc667fe 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