GithubHelp home page GithubHelp logo

Help With Name function about dhclass-hub HOT 3 CLOSED

ebeshero avatar ebeshero commented on June 27, 2024
Help With Name function

from dhclass-hub.

Comments (3)

brookestewart avatar brookestewart commented on June 27, 2024

Try //body//@*/../name() I believe this works correctly...
Is it for question 2d.? I'm not sure if we need the names of them or not.

from dhclass-hub.

KariWomack avatar KariWomack commented on June 27, 2024

This just pulled up errors for me...:(

from dhclass-hub.

RJP43 avatar RJP43 commented on June 27, 2024

trying simplifying even what @brookestewart suggests.... you want to tell XPath to go down throughout your entire document // and find all the attributes @.

Brooke and @CodyKarch you both are on the right track with the asterisk. You just don't need to over complicate it especially since you will want to build off this first expression of finding all of the attributes in order to get the names of those attributes.

After you get the first part you very simply can get the second by telling XPath to now step further / and get the names name()

Well Done Brooke jumping on these issues with your useful tips!

from dhclass-hub.

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.