![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - How to create CSV/Text form XML >Thread Next - Re: How to create CSV/Text form XML Re: How to create CSV/Text form XMLTo: NULL Date: 4/1/2005 2:56:00 AM 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 | |||||
|
