E
Eshrath
Hi,
What I am trying to do:
=======================
I need to form a table in html using the xsl but the table that is
formed is quite long and cannot be viewed in our application. So we
are writing one object in C# which will take the entire table tag
contents and renders. Ie., we need to pass "<table>…………
<thead>……</thead>. <tr>.<td> <td>..<tr>.<td> <td> </table>" content to
the object using Object tag.
So I have written the xsl as
<object classid="………..">
<xsl:attribute name="HTMLContent">
<xsl:apply-templates select="tgroup"/>
</xsl:attribute>
</object>
Here the HTMLContent is an attribute of the object which will be
interpreted by the C# objeect class aptly. "tgroup" template would
give the entire table content ( "<table>………… <thead>……</thead>.
<tr>.<td> <td>..<tr>.<td> <td> </table>" ).
This XSL should be transformed as
<object classid="……." HTMLContent="<table>………… <thead>……</thead>.
<tr>.<td> <td>..<tr>.<td> <td> </table>">
But the table tag value is going as blank to the HTMLContent
attribute.
i.e,
<object classid="……." HTMLContent="">
But if I give some thing like
<object classid="………..">
<xsl:attribute name="HTMLContent">
Sample
</xsl:attribute>
</object>
The XSL transforms as
<object classid="……." HTMLContent="Sample">
</object>
I really don't understand why the table content is not getting in to
the HTMLContent attribute of Object tag. Is there a way where I can do
like this.
I am struck up in this for a long time. Please help me out.
Thanks and Regards,
-Eshrath.
What I am trying to do:
=======================
I need to form a table in html using the xsl but the table that is
formed is quite long and cannot be viewed in our application. So we
are writing one object in C# which will take the entire table tag
contents and renders. Ie., we need to pass "<table>…………
<thead>……</thead>. <tr>.<td> <td>..<tr>.<td> <td> </table>" content to
the object using Object tag.
So I have written the xsl as
<object classid="………..">
<xsl:attribute name="HTMLContent">
<xsl:apply-templates select="tgroup"/>
</xsl:attribute>
</object>
Here the HTMLContent is an attribute of the object which will be
interpreted by the C# objeect class aptly. "tgroup" template would
give the entire table content ( "<table>………… <thead>……</thead>.
<tr>.<td> <td>..<tr>.<td> <td> </table>" ).
This XSL should be transformed as
<object classid="……." HTMLContent="<table>………… <thead>……</thead>.
<tr>.<td> <td>..<tr>.<td> <td> </table>">
But the table tag value is going as blank to the HTMLContent
attribute.
i.e,
<object classid="……." HTMLContent="">
But if I give some thing like
<object classid="………..">
<xsl:attribute name="HTMLContent">
Sample
</xsl:attribute>
</object>
The XSL transforms as
<object classid="……." HTMLContent="Sample">
</object>
I really don't understand why the table content is not getting in to
the HTMLContent attribute of Object tag. Is there a way where I can do
like this.
I am struck up in this for a long time. Please help me out.
Thanks and Regards,
-Eshrath.