Subject:Remove unnecessary TAGS in generated XML file using XSLT Author:Stefan Mulder Date:23 Dec 2004 07:41 AM Originally Posted: 21 Dec 2004 04:30 AM
Hello,
within Siebel I've configured a Workflow process in which attached "transform.xsl" is
called to get rid of abundant TAGS. Does anybody know how I do have to
adjust the attached "transform.xsl" to get rid of abundant TAGS like
<CONSUMER_PHONE />, <CONSUMER_ADDRESS /> and <CONSUMER_PRODUCT /> when no such data
is present (see attached "siebel_exp_23dec2004_5.xml") ?
Thanks a lot for your help/suggestions given on this one.
Kind regards, Stefan
Other suggestions:
Everytime you call those xpaths, the processor has to go down the tree and then back up to the root, down the tree then back up to the root again....
You might want to consider changing context to speed it up.
For example changing your template to:
<xsl:template match="/CONSUMER_FILE">
will give you a small speed increase.