• User Attivo

    Select combinate ricavate da file xml

    Salve ragazzi ho il seguente problema:
    ho un file xml fatto cosi:

    
    <node id="acmccs98" label="ACMCCS98">
    	<isComposedBy>
    		<node id="A." label="General Literature">
    			<isComposedBy>
    				<node id="A.0" label="GENERAL">
    					<isComposedBy>
    						<node label="Biographies/autobiographies"/>
    						<node label="Conference proceedings"/>
    						<node label="General literary works (e.g., fiction, plays)"/>
    					</isComposedBy>
    				</node>
    				<node id="A.1" label="INTRODUCTORY AND SURVEY"/>
    				<node id="A.2" label="REFERENCE (e.g., dictionaries, encyclopedias, glossaries)"/>
    				<node id="A.m" label="MISCELLANEOUS"/>
    			</isComposedBy>
    		</node>
    		<node id="B." label="Hardware">
    			<isComposedBy>
    				<node id="B.0" label="GENERAL"/>
    				<node id="B.1" label="CONTROL STRUCTURES AND MICROPROGRAMMING">
    					<isRelatedTo>
    						<node id="D.3.2"/>
    					</isRelatedTo>
    					<isComposedBy>
    						<node id="B.1.0" label="General"/>
    						<node id="B.1.1" label="Control Design Styles">
    							<isComposedBy>
    								<node label="Hardwired control">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Microprogrammed logic arrays">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Writable control store">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    							</isComposedBy>
    						</node>
    						<node id="B.1.2" label="Control Structure Performance Analysis and Design Aids">
    							<isComposedBy>
    								<node label="Automatic synthesis">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Formal models">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Simulation">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    							</isComposedBy>
    						</node>
    						<node id="B.1.3" label="Control Structure Reliability, Testing, and Fault-Tolerance">
    							<isRelatedTo>
    								<node id="B.8"/>
    							</isRelatedTo>
    							<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    							<isComposedBy>
    								<node label="Diagnostics">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Error-checking">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Redundant design">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    								<node label="Test generation">
    									<hasNote type="2">The classification is no longer used as of January 1998, but the item is still searchable for previously classified documents.</hasNote>
    								</node>
    							</isComposedBy>
    						</node>
    						
    			</isComposedBy>
    		</node>
    	</isComposedBy>
    </node>
    
    
    
    

    come faccio da questo file ad estrapolare delle select?
    dovrei avere una selec principale che mi scelga tra:
    General Literature
    o
    Hardware

    poi in base a quale scelgo mi sevirebbe una selcet che secliesse il sotto nodo ed un'altra select, nel caso in cui il sotto nodo ha altri sotto nodi per sempio in questo caso:

    
    
    		<node id="A." label="General Literature">
    			<isComposedBy>
    				<node id="A.0" label="GENERAL">
    					<isComposedBy>
    						<node label="Biographies/autobiographies"/>
    						<node label="Conference proceedings"/>
    						<node label="General literary works (e.g., fiction, plays)"/>
    					</isComposedBy>
    				</node>
    				<node id="A.1" label="INTRODUCTORY AND SURVEY"/>
    				<node id="A.2" label="REFERENCE (e.g., dictionaries, encyclopedias, glossaries)"/>
    				<node id="A.m" label="MISCELLANEOUS"/>
    			</isComposedBy>
    		</node>
    //se volessi scegliere: Conference proceedings questo mi dovrebbe apparire nella terza select. Avete consigli su come fare? grazie