GithubHelp home page GithubHelp logo

XPath3 about dhclass-hub HOT 2 CLOSED

ebeshero avatar ebeshero commented on July 25, 2024
XPath3

from dhclass-hub.

Comments (2)

brookestewart avatar brookestewart commented on July 25, 2024

I find it helps to start very broad, then work your way to the more specific things. For example, for question 3 c.:
Now, how would we write XPath to find the very last paragraph in Book 2 that contains more than 1 latitude record?
First, find all of Book 2. Then add on to find the paragraphs that contain more than one latitude record. From here, it should be simple to find the very last paragraph that contains that information. I also found that grouping everything before the [last()] function works without error.
Hope this helps!

from dhclass-hub.

RJP43 avatar RJP43 commented on July 25, 2024

Great advice @brookestewart ... that is exactly how I work through XPath think simple and don't over complicate... XPath is very literal!! @KariWomack did Brooke's advice help you at all? Do you have a more specific problem you could share. Perhaps give us the expression you are trying and we can walk through exactly what your expression is saying versus what you want it to say. It often works out that when you write out what you are looking for and how you are attempting to do it you see where your mistakes are being made.

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.