Skip to content

Query html files using css selectors - easy DOMDocument compatibility

Notifications You must be signed in to change notification settings

chris900/phpCSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpCSS

-- use --

$PC = new phpCSS($htmldata);

$elms = $PC->find('div#selector');

foreach ($elms as $elm) { $elm->getAttributeValue('class'); $elm->getName(); }

-- TODO --

FIX FOR * html

About

Query html files using css selectors - easy DOMDocument compatibility

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages