Home › Forums › DITA and XMetaL Discussion › Custom CSS and PI’s: little big problem › Reply To: Custom CSS and PI’s: little big problem
barbwire September 17, 2012 at 5:45 am
Reply to: Custom CSS and PI’s: little big problemSeptember 17, 2012 at 5:45 am
Here's a script example of something that might get you close to what you need:
[code]//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;
var nodes = ActiveDocument.getNodesByXpath(“//topic/processing-instruction('mypi')/../title”);
Thank you. Have to try this as soon as possible.