xsl-list
[Top] [All Lists]

Re: Apply-templates - how to omit top level element tags?

2005-09-09 13:15:39
use a tool that you like... (or can understand...) sheesh...


Mike Schinkel wrote:
I honestly don't understand your comment here.


What I was saying was, if I insert a template to solve one problem it
could change break other working aspects of the template, and I might
not realize until after I've paid the printer $10k to print something...


So saying that changing the template for Name changes the processing

at arbitrary points in the process, whenever <Name> appears is like
saying that if you change a C program and change the definition  of a
function doname(..) then the processing changes whever the function
doname iis called, and without knowing where or if that function is
called, you don't know what effect changing the function will have. This
is all true, but it's not surprising, and not particular to xslt.

Your analogy does not mirror my point.  Here's a better one.  Assume a
working C program.  Now I simply add function FooBar() into the source
code, and numerous other testing and debugged functions start returning
results that were different then they returned prior to my adding the
new function FooBar().
THAT is fragile.

-Mike

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>