Coder Social home page Coder Social logo

Comments (7)

nlottig94 avatar nlottig94 commented on July 21, 2024

I was telling the XSLT to give me all of the elements in the <div> element. I was using a greedy selection because it was too much.
I need to find the more specific XPath of: I need to grab all of the <fs> elements that have <f> elements which have @name="response" and @select="no". This will grab all of the yes and no questions because the yes is bound to the no.

from dhclass-hub.

RJP43 avatar RJP43 commented on July 21, 2024

Right, so by grabbing the entire <div> element you are in reality selecting a lot more than what you are actually looking for... if the nodes to make the table are the ones that are bound with specific responses (as you say the No responses) then that is what you want to select! Great!

from dhclass-hub.

RJP43 avatar RJP43 commented on July 21, 2024

And that <xsl:apply-templates select="..."/> can be a self-closing element that was a flummox in class.. doesn't really matter... but for simplicity sake. I noticed you had a separate closing tag for your <xsl:apply-templates> @select.

from dhclass-hub.

nlottig94 avatar nlottig94 commented on July 21, 2024

Now that I'm selecting these, I need to match on them in a new row <tr> in which the <td> elements correspond to the table headers <th>.

from dhclass-hub.

RJP43 avatar RJP43 commented on July 21, 2024

RIGHT!

from dhclass-hub.

RJP43 avatar RJP43 commented on July 21, 2024

@CodyKarch look here to understand a bit more about what needs bound together and if you are still confused ping me back in your issue #47 or here!

from dhclass-hub.

nlottig94 avatar nlottig94 commented on July 21, 2024

Closing for Spring 2016.

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.