Subject:alternative for 'exists' Author:DG Sarbo Date:16 Jul 2009 05:07 AM
When making a mapping, the resulting xml has sometimes (optional) empty segments/tags. Because we want to have 'clean' output, in the mapping these segments are put in a 'exists' function.
Because our organisation uses a lot of mappings with a lot of optional fields ... I am looking for a generic function that filters out the empty segments/tags. Is this possible in xquery? Could anybody point me in the right direction?
Subject:alternative for 'exists' Author:DG Sarbo Date:11 Aug 2009 03:34 AM Originally Posted: 11 Aug 2009 03:26 AM
Thank you for looking at this issue. This approach seems very interesting but leaves me with a question.
If I use xlst, the XML file is left unchanged?
In other words; we use xml to communicate data to customers. The input is not displayed but put into a database (by our customers). Is xslt able to change the input we send out (change the xml content), or is it primarily used for displaying purposes?