Hey Burke,
I am having a lot of trouble with what I assumed would be a straightforward
application of XSLT, and I haven't been able to find an example of this on
the web. Can you help me out here? The contrived simplified version is:
I want to remove any concept that has a <remove> tag as a child, and pass
through all other tags exactly as they are. (More realistically I want to
only do so if some further condition holds for its attributes, but that
should be easy if I can figure out how to pass everything through that
doesn't match my main translation.)
Example source:
<concepts>
<concept id="1"/>
<concept id="2"/>
<concept id="3"/>
<remove apply="true"/>
</concept>
<concept id="4"/>
</concepts>
Desired output
<concepts>
<concept id="1"/>
<concept id="2"/>
<concept id="4"/>
</concepts>
Thoughts?
-Darius
_________________________________________
To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-devel-l" in the body (not
the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]