Home › Forums › General Discussions › Open Topic › xml xsl css
- This topic has 1 reply, 1 voice, and was last updated 18 years, 4 months ago by
Anthony.
-
AuthorPosts
-
February 12, 2004 at 8:25 pm #46727
AnthonyParticipantok, 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
AnthonyParticipantsolved.
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
-
AuthorPosts
You must be logged in to reply to this topic.
Share:
- Click to email a link to a friend (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Facebook (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Pocket (Opens in new window)
- Click to share on WhatsApp (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to share on Telegram (Opens in new window)
- Click to share on Skype (Opens in new window)