[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] embed original XML in HTML converted by XSL
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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|