[xsl] XSLT transformation flow based upon data type (access schema from within XSLT?)

Subject: [xsl] XSLT transformation flow based upon data type (access schema from within XSLT?)
From: Adam Griffin <agriffin@xxxxxxxxxxxx>
Date: Fri, 18 Oct 2002 17:53:46 -0400
It seems somebody would have run across this same problem by now, but I
can't seem to find a solution to it anywhere.

Essentially: how do I get the XSLT to "see" the data type of a node?

What I'm doing: given a bunch of nodes from an XML doc I'm matching on (*),
I want to perform a specific action to them based upon the data type
contained within the XML node.

My current approach: try and get the data type info from the schema but, I
can't seem to find a way to get to the schema programmatically from within
the XSLT doc in a non-proprietary approach (I can get to it from scripting
extension but it really slows things down). I also don't really want to
utilize the document() function to load up the schema since it *should*
already "know" it somehow since I already validated against it (and the
scripted extension solution proves it).

Any ideas greatly appreciated. Thanks!

-Adam


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


Current Thread