Closed merongivian closed 6 years ago
@merongivian Try Floki.find(xml, "channelid")
to select on just the tag, or Floki.find(xml, "yt|channelid")
to select the tag with namespace.
The colon in the tag indicates a namespace.
@mischov using the |
instead of the colon worked, thanks 👍
First of all thanks for the awesome library, works great for parsing xml
Im trying to use find for getting a node that a has a colon, in this example i want to get
yt:channelId
But when i try i
Floki.find("yt:channelid")
i get:[warn] Pseudo-class "channelid" is not implemented. Ignoring
Is there a way to ignore the colon, so it doesn't think its a pseudo class selector?