AW: [xsl] How to determine element-type ?

Subject: AW: [xsl] How to determine element-type ?
From: "Mengel Andre (FV/SLM) *" <Andre.Mengel@xxxxxxxxxxxx>
Date: Tue, 24 Apr 2001 10:20:13 +0200
Dear Goetz,

Thank you for your response,

best regards,

André

> -----Ursprüngliche Nachricht-----
> Von: Goetz Bock [mailto:bock@xxxxxxxxxxx]
> Gesendet: Montag, 23. April 2001 16:50
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff: Re: [xsl] How to determine element-type ?
> 
> 
> 
> On Mon, Apr 23 '01 at 16:33, Mengel Andre (FV/SLM) * wrote:
> > refering to an XML-File and its apropriate Schema-File, I 
> want determine the
> > type of the simple content elements in the XML-File. 
> > For example 
> > 
> > <float>10.0<float>
> > 
> > would be the float Type.
> > Is it possible to determine the type of a simple content 
> element within
> > an XSL-Stylesheet by using the apropriate Schema ?
> No, XSL-T 1.0 does not know anything about schemas, you could 
> write your
> own extension function (to check for a datatype).
> Or, if you just want to know how <float/> is defined in your 
> Schema. you
> could write some XSL-T that searches for the definition.
> This would not check wether a given element's value is of 
> type float, it
> could just tell you that it ought to be a float.
> 
> Cu,
>     Goetz.
> 

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


Current Thread