![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to create CSV/Text form XML [Thread Next] Re: How to create CSV/Text form XMLTo: NULL Date: 4/1/2005 4:34:00 PM Romin wrote: > Here is the XSLT that lets you extract out the elements that you need. > You can do the formatting accordingly: > > <?xml version="1.0" encoding="UTF-8"?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="text"/> > > <xsl:template match="/"> > <xsl:for-each select="items/item"> > <xsl:for-each select="item_field[@dbid='feld2' or > @dbid='feld4']"> > <xsl:value-of select="."/> > </xsl:for-each> > </xsl:for-each> > </xsl:template> > > </xsl:stylesheet> > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
