[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Dynamic creation of Frame view from XML using XSLT
Step 1) My input XML doc is: ---------------------------- <XMLDOC> <T_SYS> <T_SYS_ROW> <acol> aval </acol> <bcol> bval </bcol> <T_SYS_ROW> <T_SYS_ROW> <acol> aval </acol> <bcol> bval </bcol> </T_SYS_ROW> </T_SYS> <T_MB> <T_MB_ROW> <acol> aval </acol> <bcol> bval </bcol> </T_MB_ROW> <T_MB_ROW> <acol> aval </acol> <bcol> bval </bcol> </T_MB_ROW> </T_MB> </XMLDOC> Step 2) Above XML and the XSL (as in original mail) would be returned to the browser (in response to a request) Step 3) My expected output as follows: -------------------------------------- <frameset cols="20%,*"> <frame name="lframe" src="about:blank"> <frame name="rframe" src="about:blank"> </frameset> Onloading the frames should get rendered by the XSL lframe should dynamically get populated with: -------------------------------------------- <html> <body> <a href='rframe.T_SYS_REF'> T_SYS </a> <a href='rframe.T_MB_REF'> T_MB </a> </body> </html> rframe should dynamically contain: ---------------------------------- <html> <body> <h1> T_SYS </h1> <a name='T_SYS_REF'> <table id='t_sys_tab'> </a> --content for t_sys_tab </table> <h1> T_MB </h1> <a name='T_MB_REF'> <table id='t_mb_tab'> </a> --content for t_mb_tab </table> </body> </html> --- Abel Braaksma <abel.online@xxxxxxxxx> wrote: > sreejith m wrote: > > Kindly let me know how to achieve the final > output. > > > > do you mean you want us to design your website for > you? From your > description it is very hard to find out what "final" > means to you. > Please update your post with an exact XML, XHTML or > HTML output document > that you want (the 'HTML' you showed is not html, it > merely describes > some very generic bits of a possible layout). > > We can help if you give us: > > 'my input' > <input><node>text</node></input> > > 'my current output that i do not want' > <p><li>text</li></p> > > 'the output the I want but don't know how to get' > <ul><li><p>text</p></li></ul> > > for instance. We can't imagine what you imagine us > to imagine... so... > your information was quire extensive but it missed > this final two large > bits: what you have now and what you expect/want to > have. > > Cheers, > -- Abel Braaksma > > ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/
|
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
|