Giter Site home page Giter Site logo

How to find tag with namespace? about floki HOT 6 CLOSED

philss avatar philss commented on May 4, 2024
How to find tag with namespace?

from floki.

Comments (6)

philss avatar philss commented on May 4, 2024

Hi @fan-y-ouchi! This feature was not present yet. But is now available in the version 0.8.0 of Floki. 😃

Please update and check again (the same syntax of your example).

from floki.

fan-y-ouchi avatar fan-y-ouchi commented on May 4, 2024

Thank you! 😄

from floki.

gmile avatar gmile commented on May 4, 2024

@philss will this not conflict with possible future implementation of :first-child, :nth-child() etc.? Per 6.1.1. Type selectors and namespaces from here, one must target namespaced tags by means of dash symbol |:

Examples:
ns | E – elements with name E in namespace ns

@philss what do you think?

from floki.

philss avatar philss commented on May 4, 2024

@gmile wow! I didn't know that. I think I misunderstood this namespace selector. Thank you for pointing out. This need to be fixed. I'm gonna reopen this.

from floki.

philss avatar philss commented on May 4, 2024

Closed again by #58.

from floki.

philss avatar philss commented on May 4, 2024

@fan-y-ouchi @gmile the new version was released in v0.10.0. Thanks!

from floki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.