BizTalk Server Orchestration - msxsl:script versus xpath function

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > msxsl:script versus xpath function





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author msxsl:script versus xpath function
Elad

2005-07-11, 5:51 pm

Hello!
Let's say i'd like to show only 8 left characters of a source string value
in the target xml document. I was wondering if anyone knows what will be more
efficient to use when creating a map in Biztalk Server 2004:
1) Using the built-in functoid "StringLeft" (actually calling a c# language
script which is embedded in the xslt code behind the .btm file).
2) Using the advanced "Script" functoid, setting it's "Script type" property
to "Inline XSLT" and then use the xpath function "substring" in the custom
xslt code.

Keep in mind that this is only a simple example and perhaps in a more
complex scenario it will mean much more then in the above case.

I think it is natural to assume that xpath function will work faster but
does anyone know for sure?

Thanks,
Elad

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com