[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Shinichiro HAMADA" <shinichiro.hamada@t...>
  • To: "
    $BIMED(B $B?-0lO:(B
    
    " <shinichiro.hamada@t...>, "ML XMLDev" <xml-dev@i...>
  • Date: Wed, 20 Jan 1999 21:36:17 +0900

Hello. Thank you for helping me everytime.

I asked you about XSL in "value of this in IE5b2-XSL script", but I don't
understand IE5's behavior very well on it, so I will change the solution
way.

What I want to do was following:

1 an XML source describes formated data.
2 gives the XML source to IE5 as direct browsing.
3 convert the XML src to table with a stylesheet.
4 when an image icon in a table row is clicked, XML source which correspond
  to it's row is output such as with alert().

So, I tried as following:

1 by XSL, convert XML src into HTML Table in which CSS source is linked.
2 in linked CSS source, onclick event handler is defined
  as CSS behavior-attribute (* IE5's new function)
3 and invisible <span> is embeded in the table row,
  and unconverted original XML source is embedded in it.
4 onclick handler reads <span>'s innerHTML and output.

In short word, I want to render XML's data as table and let event handler
process the XML source which corresponds to the event target.

But, I had no idea to embed XML source in the <span> at step#3 finally.

The reason why I tried to use XSL is that it seems impossible to layout data
as table with using CSS only. But if there is no way to achieve above with
XSL, I will give up to layout data into table.

Are there better way? Please give me any advices.
Thank you. Regards.

--
Shinichiro HAMADA


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member