FreakScene.net

Dinosaur Jr. Fan Community

Menu

Skip to content
  • Home
    • News
  • Artists
  • Song Lyrics
  • Links
  • Contact Us
    • Privacy Policy
  • Forums
    • Latest Topics
    • Dinosaur/J News & Discussions
    • Dinosaur Related Discussions
    • General Discussions
    • Bootleg Trading
    • Guitar Room
    • Fossils
    • Get Discovered
    • Introductions
    • Site Suggestions + Comments
    • Live reviews / meetups
    • Open Topic
    • Area 51
    • Musicians & D.I.Y. Artists

xml xsl css

Forums › Forums › General Discussions › Open Topic › xml xsl css

  • This topic has 1 reply, 1 voice, and was last updated 21 years, 12 months ago by Anthony.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 12, 2004 at 8:25 pm #46727
    Anthony
    Participant

      ok, so i have this xml file, this is part:

      <DrawingNo>4465027</DrawingNo>
      <OutputAttributes>
      <Attribute>57946</Attribute>
      <Attribute>9</Attribute>
      <Attribute>1</Attribute>
      <Attribute>2004-02-09 00:00:00.0</Attribute>
      <Attribute>102</Attribute>
      <Attribute>168</Attribute>
      </OutputAttributes>

      The thing I cannot do is call individual attribute names (ex. SORDER, SLINE, NQTY) via xsl.
      <xsl>
      That right there gives me the whole lot, all in one line, and i have been able to sort them and line them up using css on the xsl file.
      but i want to pluck out only a couple of those attributes and place them in different places.
      i have tried playing with ‘for-each’ and ‘if’ ‘when’ ‘value-of’ to no avail.
      i dont know what the syntax is….
      can anyone help out ?

      February 13, 2004 at 10:44 am #99189
      Anthony
      Participant

        solved.

        defining the names of the nodes in the stylesheet header for me helped out for when I call something like this:

        <xsl>

        put it in a td, got yourself a nice little table going :)

      • Author
        Posts
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      Log In
      Proudly powered by WordPress | Theme: Illustratr by WordPress.com.