Results 1 to 3 of 3

Thread: xml data islands(xsl)

  1. #1
    sashabinkie
    Guest

    xml data islands(xsl)

    I can't seem to display a data island in an html document utilizing the stylsheet attached to it! Is this possible??? I thought that it would read the style info as it ran the code on the html page.

  2. #2
    scoutt
    Guest
    do you have a smaple for us to look at? what browser are you using?

  3. #3
    sashabinkie
    Guest

    example

    Scoutt,

    this is generated from a form client side server independent I output the html by opening a new window and document in javascript I thought that this would interpret the style info in the data island when it hits instruction. Evidently not cause it don't work! if i cut the xml out of this file and use the same stylesheet it works fine.

    <html>
    <head><title>Scheduling QAC-15</title></head>
    <body>
    <h3>Please save this file as Sched.html</h3>
    <XML ID='xmldso'>
    <?xml version='1.0'?>
    <?xml-stylesheet href='Sched.xsl' type='text/xsl'?>
    <Scheduling>
    <Project>reline</Project>
    <Location>there</Location>
    <Date>9/7/2001</Date>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>C SCH</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>C SCH</Primary>
    <Rating>2</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>MPD</Primary>
    <Rating>2</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>P MGR</Primary>
    <Rating>2</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>2</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>P MGR</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    <PerfReq>
    <Compliance>yes</Compliance>
    <Primary>SCHED</Primary>
    <Rating>0.00</Rating>
    <Comments>none</Comments>
    </PerfReq>
    </Scheduling>
    </xml>
    <table DATASRC='#xmldso' border='1' bordercolor='#000080'>
    <tr>
    <td><div DATAFLD='Project'></div></td><td><div DATAFLD='Location'></div></td><td><div DATAFLD='Date'></div></td>
    </tr>
    </table>
    <table DATASRC='#xmldso' DATAFLD='PerfReq'>
    <thead>
    <tr><th>Compliance</th><th>Primary Responsibility</th><th>Rating</th><th>Comments</th>
    </tr>
    </thead><tbody>
    <tr>
    <td><span DATAFLD='Compliance'></td><td><span DATAFLD='Primary'></span></td><td><span DATAFLD='Rating'></span></td><td><span DATAFLD='Comments'></span></td>
    </tr>
    </tbody>
    </table></body>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width