RE: newbie: delete whitespace

2002-07-17 Thread Piroumian Konstantin
From: Daniel Meier [mailto:[EMAIL PROTECTED]] hi there is there a simple solution to transform an xml-file to a new one without any whitespace? If you mean any *ignorable* whitespace then use this in your stylesheet: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0

Re: newbie: delete whitespace

2002-07-17 Thread Joerg Heinicke
Really *any* whitespace? xsl:template match=@*|node() xsl:copy xsl:apply-templates select=@*|node()/ /xsl:copy /xsl:template xsl:template match=text() xsl:value-of select=translate(normalize-space(), ' ', '')/ /xsl:template There are only whitespaces left in attribute values