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
But it is a bit special for <h2>Title 1.1</h2> because it has no id attribute and needs to be obtained from its parent node.
Now I don't have a good idea. Maybe I missed something.
cc 🙏 @y21
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Assume we have the following structure(in the real-world usage
id
is not required to includetitle
):I need to get all the
<header>
tag, finally, the following structure is generated:But it is a bit special for
<h2>Title 1.1</h2>
because it has noid
attribute and needs to be obtained from its parent node.Now I don't have a good idea. Maybe I missed something.
cc 🙏 @y21
Beta Was this translation helpful? Give feedback.
All reactions