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

Re: regexs, grouping (?) and XSLT2?

Subject: Re: regexs, grouping (?) and XSLT2?
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Tue, 10 Aug 2004 11:24:25 -0400
Re:  regexs
On Aug 10, 2004, at 10:54 AM, Michael Kay wrote:

If mods:dateIssued were defined in the schema as an instance of the union type m:date...

Not following all this, but dates are uncontrolled in the MODS schema (which is developed and maintained by the Library of Congress).


There is simply an attribute that allows one to indicate what kind of encoding one is using; e.g:

<dateIssued encoding="w3cdtf">1967-08-22</dateIssued>.

Is it, then, technically right or wrong to have the following?

<dateIssued encoding="w3cdtf">1967</dateIssued>

So, Mike, are you saying I can define functions in the stylesheet to work with the above? Or must the schema itself define the dates in such a way as they're valid, and I then need to rely on the schema for processing (which doesn't sound like fun; something I really dislike about the world of DTDs, actually)?

Bruce

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.