You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the inverse functionality of DOMDeleteTransformer.
I want to keep only the content in the specific CSS selector, instead of removing it from the DOM.
I want to get rid of all the text from menus, banners, navigations, etc. and it is easier and more versatile to spcify which content to keep instead of which not to keep.
Is that somehow possible?
I imagined something like a DOMTransformer which can include and exclude parts of the DOM, analogous to the onMatch=[include|exclude] of the ReferenceFilter.
Hi,
I am trying to get the inverse functionality of DOMDeleteTransformer.
I want to keep only the content in the specific CSS selector, instead of removing it from the DOM.
I want to get rid of all the text from menus, banners, navigations, etc. and it is easier and more versatile to spcify which content to keep instead of which not to keep.
Is that somehow possible?
I imagined something like a DOMTransformer which can include and exclude parts of the DOM, analogous to the onMatch=[include|exclude] of the ReferenceFilter.
The text was updated successfully, but these errors were encountered: