[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT for ditaval filtering
Hi All, I have a ditaval file like this: <?xml version="1.0" encoding="UTF-8"?> <val> <prop action="exclude" att="product" val="Hide_Prod2"/> </val> I have a ditamap similar to this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "technicalContent/dtd/map.dtd"> <map id="map.ditamap_8cf6e644-18de-4924-a434-ed2585146470"> <title>Child Map</title> <topicref href="content/Reference-Topic-0.dita" type="reference"> <topicref href="content/Reference-Topic-4.dita" type="reference"/> </topicref> <topicref href="content/Concept-2.dita" type="concept" product="Hide_Prod2"/> </map> I want to use XSLT 3 to filter out content from the map (for example, the last topicref), based on the ditaval file, which I can pass into the stylesheet as a parameter. In the DITA Open Toolkit, I think this filtering is done in Java, but I want to do it with XSLT, if possible. I am working up some code in Oxygen now, but any suggestions or pointers would be appreciated. Thank you. Rick Quatro
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|