Home Forums General Discussions Open Topic xml xsl css

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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 ?

    #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 :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.