[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to determine element-type ?

Subject: Re: How to determine element-type ?
From: Goetz Bock <bock@xxxxxxxxxxx>
Date: Mon, 23 Apr 2001 16:49:56 +0200
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.

Attachment: pgp00001.pgp
Description: PGP signature

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.