[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

embed original XML in HTML converted by XSL

  • 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

embed
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.