[Home] [By Thread] [By Date] [Recent Entries]
Steve wrote:
So can you explain _why_ that works? =) What's it about that URL that blesses the functions in my import to work? The namespace URL http://exslt.org/strings is defined by exslt.org. And any implementation like the file at <http://www.exslt.org/str/functions/tokenize/str.tokenize.msxsl.xsl> then makes sure that it defines a function in that namespace so it looks like <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:str="http://exslt.org/strings"
extension-element-prefixes="str msxsl"><msxsl:script language="JavaScript" implements-prefix="str"> where the namespace declaration xmlns:str="http://exslt.org/strings" is included and then the Microsoft specific msxsl:script element with its implements-prefix attribute indicates the prefix for which the script functions are defined. -- Martin Honnen http://JavaScript.FAQTs.com/
|

Cart



