Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Dynamic Table Creation from UnKnown XML [Thread Next] Re: Dynamic Table Creation from UnKnown XMLTo: NULL Date: 11/5/2004 1:08:00 PM Larry wrote: > I'm trying to make a table with dynamic column creation, depending on > how much columns are in a row. > I get the datasource from some place, and all I know that there is a > node called "ROWS". I don't know what elements are in this node. > > So I go > <table> > <xsl:for-each source="Rows"> Should be <xsl:for-each select="Rows"> > <tr> > <xsl:for-each source="??????"> Should then be <xsl:for-each select="*"> > <td> > <name of this subnode> If you want the name then you need <xsl:value-of select="local-name()" /> if you want the string value then <xsl:value-of select="." /> If that doesn't help then provide an XML input sample and the relevant output sample you want to create. -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
