xsl-list
[Top] [All Lists]

Re: [xsl] XSLT convert xml file to Excle Question III

2006-06-20 15:08:08
Karen Yang wrote:
(I just can't get the NoteDetail node out)
...
<xsl:template match="TAX_CASH_FLOW_ANALYSIS/TaxCashFlowUnit/NoteDetail">
<xsl:for-each select="*/*">
                        ^^^
This selects all grand-child elements of NoteDetail, unfortunately
there are none, therefore no content is generated. You probably want
to select just "*"

<Cell ss:Index="3"><Data ss:Type="String"><xsl:value-of
select="*/."/></Data></Cell>
         ^^^^
I guess you also want a plain "." here.

J.Pietschmann

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--