SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Frameset in xsl

  1. #1
    SitePoint Addict
    Join Date
    May 2005
    Posts
    392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Frameset in xsl

    hey guys, I have the following xsl file and it does not work (frameset would not be visible). Any ideas why?

    ___________________________________________________________
    <xsl:stylesheet version="1.0" xmlnssl="http://www.w3.org/1999/XSL/Transform">

    <xsl:template match="HeadComponent">

    <HTML>
    <body>
    <table border="0" cellpadding="4" cellspacing="0">
    <tr>
    <object>
    <FRAMESET cols="245,1000" border="0" framespacing="0" frameborder="0">
    <FRAME SRC="http://www.google.com" name="left_frame" scrolling="no"></FRAME>
    <FRAME SRC="http://www.google.com" name="right_frame"></FRAME>
    </FRAMESET>
    </object>
    </tr>
    </table>
    </body>
    </HTML>

    </xsl:template>
    </xsl:stylesheet>

  2. #2
    SitePoint Wizard silver trophy someonewhois's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    6,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What's the XML document that it's alongside look like? Does it have a <HeadComponent>?

  3. #3
    SitePoint Addict
    Join Date
    May 2005
    Posts
    392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is what I have:

    <?xml version='1.0'?>
    <?xml-stylesheet type='text/xsl' href='patt.xsl'?>
    <Page PaddingLeft="0px" PaddingRight="0px" PaddingTop="0px" PaddingBottom="0px">
    <MatrixLayout Id="sdfg" FixedLayout="false" MarginTop="0px" MarginBottom="0px" MarginLeft="0px" MarginRight="0px" DebugMode="false" DesignTimeID="hafgf">
    <Rows>
    <MatrixLayoutRow Id="MatrixLayout.Rows.MatrixLayoutRow_OLERCWLCSOO" DesignTimeID="MatrixLayout.Rows.MatrixLayoutRow_CSWWOTXPVYH">
    <Cells>
    <MatrixLayoutCell Id="MatrixLayoutCell_DHGHLMUPCRU" ColSpan="1" RowSpan="1" HAlign="LEFT" VAlign="MIDDLE" CellDesign="DEFAULT" CellSeparation="DEFAULT" CellBackgroundDesign="TRANSPARENT" Wrapping="true" DesignTimeID="MatrixLayoutCell_QPZNXJGCFAN">
    <Content>
    <HeadComponent>
    <Name></Name>
    <LinkOne>Homeasdfasd</LinkOne>
    <LinkTwo>Portfolio Management</LinkTwo>
    <LinkThree>threeasdfasdf</LinkThree>
    <LinkFour>fourasdfasdfa</LinkFour>
    <LinkFive>fiveasdfasdfasd</LinkFive>
    <LinkSix>sixsdfasdfasdf</LinkSix>
    <LinkSeven>sevenfasdfa</LinkSeven>
    <LinkEight>eightafdasdf</LinkEight>
    <LinkNine>nineasdfasdf</LinkNine>
    <LinkTen>tenasdfads</LinkTen>
    <LinkOne_Reference>
    </LinkOne_Reference>
    <LinkTwo_Reference>
    </LinkTwo_Reference>
    <LinkFour_Reference>
    </LinkFour_Reference>
    <LinkFive_Reference>
    </LinkFive_Reference>
    <LinkSix_Reference>
    </LinkSix_Reference>
    <LinkSeven_Reference>
    </LinkSeven_Reference>
    <LinkEight_Reference>
    </LinkEight_Reference>
    <LinkNine_Reference>
    </LinkNine_Reference>
    <LinkTen_Reference>
    </LinkTen_Reference>
    <LinkThree_Reference>
    </LinkThree_Reference>
    <Company_Image>
    </Company_Image>
    </HeadComponent>
    </Content>
    </MatrixLayoutCell>
    </Cells>
    </MatrixLayoutRow>
    </Rows>
    </MatrixLayout>
    </Page>

    Thanks.


Bookmarks

Posting Permissions

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