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

Q on xml transformation

Subject: Q on xml transformation
From: "Zhou Runrun" <engp1782@xxxxxxxxxx>
Date: Fri, 21 Feb 2003 01:27:35 +0800
xmlbif
Hi, all:

Sorry if u received it twice!

I am a master student and new to XSLT. Now in my project, given the
input xml schema document -- medical domain ontology (a hierarchy of
concepts related by subsumption relationships whereas in more
sophisticated cases, suitable axioms are added to express other
relationships between concepts and to constrain interpretation of those
concepts), I try to use XSLT to filter out useful information for the
decision model construction. My target xml format may be the XMLBIF
(XML-based BayesNets Interchange Format). Here is the XMLBIF .dtd file.

************************************************************
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT BIF (NETWORK)*>
<!ATTLIST BIF
	VERSION CDATA #REQUIRED
>
<!ELEMENT NETWORK (NAME, (PROPERTY | VARIABLE | DEFINITION)*)>
<!ELEMENT NAME (#PCDATA)>
<!ELEMENT VARIABLE (NAME, (OUTCOME | PROPERTY)*)>
<!ATTLIST VARIABLE
	TYPE (nature | decision | utility) "nature"
>
<!ELEMENT OUTCOME (#PCDATA)>
<!ELEMENT DEFINITION (FOR | GIVEN | TABLE | PROPERTY)*>
<!ELEMENT FOR (#PCDATA)>
<!ELEMENT GIVEN (#PCDATA)>
<!ELEMENT TABLE (#PCDATA)>
<!ELEMENT PROPERTY (#PCDATA)>

************************************************************************
******

Then I could transform the file into xsd format. My question is could I
combine the XMLBIF.xsd with the domain ontology xsd file? Then my target
output xml document (after transformation) should conform to the
combined xsd file. If I got the xsd file, how could I facilitate the
transformation by using it? 

Forgive me if my questions are stupid. Any comment on my work will be
highly appreciated. 

Cheers!

Zhou Runrun




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


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.