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

Reply to: Custom CSS and PI’s: little big problem

My assumption was correct. The type of selector you want to build that includes a PI isn't supported. You will need to find another way to uniquely identify the element in question.

If you can't build an alternate selector (possibly requiring you to add more markup to the XML) you might wish to look at styling the element using the Range.ContainerStyle API inside a script. Your script would need to find the element.

Damn. Thanks anyway. Have to use different attribute on the root element or I just have to make DTD specialization for this problem.

Well, maybe in next XMetal version this works… 😉

Reply

Products
Downloads
Support