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

RE: equivalent for 'while'

Subject: RE: equivalent for 'while'
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 17 Feb 2005 10:17:44 -0000
headpain
It's not immediately obvious how you arrived at your output, for example
where does the SubConcept/id value of '11000' come from?  It looks as
through all you want to do is extract the correct id's from 'Document
2'... but your example doesn't lend itself to a quick reply :)

cheers
andrew

> I've done a small but complete snippet of doc 1, doc 2 and
> the resulting
> doc 2 I'd like in order to compare the two files.
>
> -------------------- Document 1------------------------
>
> <Top>
>     <PrimeConcept id="at0000" type="EVALUATION">
>         <PrimeName>Pain</PrimeName>
>         <SubPrimeConcept id="at0003">Headache</SubPrimeConcept>
>     </PrimeConcept>
>     <SubConcepts>
>         <SubConcept id="at0027" name="Severity">
>             <Value
> type="TEXT">[MildSeverity,ModerateSeverity,SevereSeverity]</Value>
>         </SubConcept>
>     </SubConcepts>
> </Top>
>
>
>
> ---------------------- Document 2 --------------------------------
>
> <?xml-stylesheet type="text/xsl" href="file://C:\Document2.xsl"?>
>
> <TOP id="1000" name="Thing">
>  <DEFCONCEPT id="10180" name="Pain">
>         <PARENT>
>             <CONCEPT name="ExternalStimulusSensation" ref="10181"/>
>         </PARENT>
>         <CHILD>
>             <CONCEPT name="HeadPain" ref="10235"/>
>         </CHILD>
> </DEFCONCEPT>
>
>  <DEFCONCEPT id="10235" name="HeadPain">
>         <PARENT>
>             <CONCEPT name="Pain" ref="10180"/>
>         </PARENT>
>         <CHILD>
>             <CONCEPT name="Headache" ref="10279"/>
>         </CHILD>
>  </DEFCONCEPT>
>
>   <DEFCONCEPT id="10279" name="Headache">
>         <PARENT>
>             <CONCEPT name="HeadPain" ref="10235"/>
>         </PARENT>
>   </DEFCONCEPT>
>
>   </TOP>
>
>   ------------------------ Resulting Document
> 2------------------------
>
>   <Top>
>     <PrimeConcept id="10180" type="none">
>         <PrimeName>Pain</PrimeName>
>         <SubPrimeConcept id="10279">Headache</SubPrimeConcept>
>     </PrimeConcept>
>     <SubConcepts>
>         <SubConcept id="11000" name="Severity">
>             <Value
> type="TEXT">[MildSeverity,ModerateSeverity,SevereSeverity]</Value>
>         </SubConcept>
>     </SubConcepts>
> </Top>

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.