View Single Post
  #3 (permalink)  
Old August 2nd, 2007, 08:37 AM
Pankaj C Pankaj C is offline
Authorized User
 
Join Date: Jul 2007
Location: New Delhi, Delhi, India.
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Michael,

Apologies for not putting my question correctly. It was the error, which I was getting earlier but now runs successfully in both "Sablotron" and "Saxon".

The only thing which is annoying me is that my values with in the (table/thead) is not getting processed in result output.


<xsl:template match="table/thead">
<xsl:if test="count(/table/thead/row)!='0'">
<xsl:for-each select="table/thead/row/entry">

&lt;RowStart:&lt;tRowAttrHeight:60.523913574218746 &gt;&lt;tRowAttrMinRowSize:33.611611111113234&gt;& gt;&gt;&lt;CellStart:1,1&lt;tCellAttrLeftStrokeWei ght:0&gt;&lt;tCellAttrRightStrokeWeight:0&gt;&lt;t CellAttrTopStrokeWeight:0&gt;&lt;tCellAttrBottomSt rokeWeight:0&gt;&gt;&lt;ParaStyle:NormalParagraphS tyle&gt;
<xsl:value-of select="table/tgroup/thead/row/entry[1]"/>&lt;CellEnd:&gt;


EXPECTED RESULT:

<RowStart:<tRowAttrHeight:60.523913574218746><tRow AttrMinRowSize:33.611611111113234>>
<CellStart:1,1<tCellAttrLeftStrokeWeight:0><tCellA ttrRightStrokeWeight:0><tCellAttrTopStrokeWeight:0 ><tCellAttrBottomStrokeWeight:0>><ParaStyle:Normal ParagraphStyle>as<CellEnd:>

Reply With Quote