[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl-lcsc] UBL Schema 1.0-alpha draft-8
At 2003-10-03 20:19 -0700, jon.bosak@sun.com wrote: >| If we can find an unencumbered *source* for the unencumbered ISO >| codes, then the issue I raised in my note is not relevant. But, >| the ISO has country codes in XML (fine, no problem there, I tested >| my stylesheet and it works), but the other codes are in Word .doc >| and HTML files. >| >| Does anyone know of unencumbered expressions of the codes in XML >| format? > >As long as we can use the codes (and I think we're now all in >agreement on that), Yes, I agree we can use the codes unencumbered. >the source would appear to be immaterial. Okay ... though the wording in clause (2a) cited earlier by Chee-Kai might lead one to conclude we could not use any file on the UN/ECE site as a machine-legible source for the expression of the codes. >I >think what you need is simply to have the codes extracted from the >documents so that someone can xmlify them. Right? Yes, and the stylesheet that I uploaded to the document repository can do any of the following, based on command line parameters: (1) extract codes from an external W3C XSD enumeration (works with the UN/ECE files) (2) extract codes from an arbitrary XML vocabulary (works with the ISO 3166 XML file, or any other regularly-structured XML vocabulary) (3) write a generic non-UBL prototypical W3C XSD enumeration (can be used to dissociate a source file of codes from the set of codes) (4) write a UBL stock W3C XSD enumeration utilizing a placebo enumeration as a template (what we eventually use to make files for the delivery) So ... I can't think of anything more that we need except for unencumbered XML expressions of the coded values. Someone could even write such an XML file by hand using a two-element-type vocabulary (as I show in the included test files) and we will be "good to go". I'm at the point where I will have to leave the tool in someone else's hands while my focus is drawn elsewhere, though as I said if any maintenance is needed on the stylesheet I would be pleased to address it as quickly as I can. ........................ Ken -- Next public US delivery: 3-day XSLT/2-day XSL-FO 2003-10-13 Next public European delivery: 3-day XSLT/2-day XSL-FO 2003-11-?? Instructor-led on-site corporate, government & user group training for XSLT and XSL-FO world-wide: please contact us for the details G. Ken Holman mailto:gkholman@CraneSoftwrights.com Crane Softwrights Ltd. http://www.CraneSoftwrights.com/o/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) ISBN 0-13-065196-6 Definitive XSLT and XPath ISBN 0-13-140374-5 Definitive XSL-FO ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath ISBN 1-894049-11-X Practical Formatting Using XSL-FO Member of the XML Guild of Practitioners: http://XMLGuild.info Male Breast Cancer Awareness http://www.CraneSoftwrights.com/o/bc
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]