This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ANN MSXML3-SP1/MSXML4


Francis,

>Hmm... MSXML4 includes support for W3C XML Schema in XSLT and XPath -
>maybe XSLT 2.0 is coming sooner than we thought!

This is what I could find on that.

Microsoft XPath Extension Functions
The XML Path Language (XPath) 1.0 does not support expressions that evaluate
nodes based on data type, so MSXML provides a number of XPath extension
functions for this purpose. XPath extension functions require a namespace
prefix. For more information, see Defining Namespace Prefixes for Extension
Functions.

XSD Support Extension Functions

Function Description
ms:type-is Compares the current node's data type against the specified node
type.
ms:type-local-name ([node-set]) Returns the nonqualified name of the XSD
type of the current node or the first node (in document order) in the
provided node-set.
ms:type-namespace-uri ([node-set]) Returns the namespace URI associated with
the XSD type of a current node or the first node (in document order) in the
provided node-set.
ms:schema-info-available Returns true if XSD information is available for a
current node.


Miscellaneous Extension Functions

ms:string-compare Performs lexicographical string comparison.
ms:utc Converts the prefixed date/time related values into Coordinated
Universal Time and into a fixed (normalized) representation that can be
sorted and compared lexicographically.
ms:namespace-uri Resolves the prefix part of a qualified name into a
namespace URI.
ms:local-name Returns the local name part of a qualified name by stripping
out the namespace prefix.
ms:number Takes a string argument in XSD format and converts it into an
XPath number.
ms:format-date Converts standard XSD date formats to characters suitable for
output.
ms:format-time Converts standard XSD time formats to characters suitable for
output.


It is worth downloading just to get the help file.

Ciao Chris
Oh look at that!! In the section Creating Interactive xslt/Extending xslt
I wonder where they got those ideas from??? Surely not from my dirTOxml et
al

XML/XSL Portal
http://www.bayes.co.uk/xml


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]