hwo about using stylesheet? Re: [xml] schema parsing



This may sound off topic from this list, but can I enable datainput in the HTML produced from stylesheet/xml?
so that schema type content search wouldn't be neccessary.
 
thank you!
chris
----- Original Message -----
From: Chris sun
Sent: Tuesday, April 06, 2004 1:42 PM
Subject: [xml] schema parsing

Hi
  suppose I have a shema file that include following statement.
 
 <simpleType name="PM_TYPE">
  <restriction base="string">
   <enumeration value="PM_ICP"/>
   <enumeration value="PM_4_20MA"/>
   <enumeration value="PM_LM135"/>
  </restriction>
 </simpleType>
Is there any way that I could parse this schema and obtain a set of string contain those 3 text name ? such that I can force  users to choose from them  when they write their XML file? same thing for the "choice" statement in the schema file ? right now I can only use schema to validate the XML file .
 
Thank you!
chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]