Subject:remove empty xml tags Author:Nicholas Peeke Date:13 Feb 2003 01:41 PM
I'm a little new to XSL and is there a simple way in the XML-to-XML mapper to remove empty XML tags in an XML to XML transform?
instead of
A
B b /B
C/
D d D
/A
have this
A
B b B
D d D
/A
Subject:RE: remove empty xml tags Author:(Deleted User) Date:13 Feb 2003 01:46 PM
Only testing if the original content is empty.
Like this:
-----Original Message-----
From: stylus-studio-xslt Listmanager [mailto:listmanager@edn.exln.com]
Sent: quinta-feira, 13 de Fevereiro de 2003 19:00
Subject: remove empty xml tags
From: "Nicholas Peeke"
I'm a little new to XSL and is there a simple way in the XML-to-XML mapper
to remove empty XML tags in an XML to XML transform?
instead of
A
B b /B
C/
D d D
/A
have this
A
B b B
D d D
/A
To reply: mailto:stylus-studio-xslt.6280@edn.exln.com
To start a new topic: mailto:stylus-studio-xslt@edn.exln.com
To login: http://edn.exln.com/~SSDN
Subject:RE: remove empty xml tags Author:Minollo I. Date:13 Feb 2003 03:28 PM
Unfortunately there isn't an easier way to do that in the current version
of XML to XML mapper. We will address that and other issues in future
versions of Mapper.
Hopefully you don't add the xsl:if instruction to each tag that you are
mapping...