Skip to main content
bfriesen
18-Opal
Jan 15, 2026 5:34 PM UTC
Question

add the ability to have a second image element in a custom element

Our style sheet was modified with a custom element for our covers. The custom element supports one image element. Where do I change it so It can accept two images, as I would like to profile them.

 

Thanks

 

Bryon

4 replies

12-Amethyst
Feb 11, 2026 2:30 PM UTC

Dear Customer,

 

Hope you're doing well. Are you asking about inserting two images in the single element?

 

Regards,

Manpreet Singh

Translate
bfriesen
bfriesen18-OpalAuthor
18-Opal
Feb 11, 2026 2:56 PM UTC

Yes, when I press enter inside the element I cannot add another image, it seems that only one is allowed. The images also need to be profiled so I expect I would need to allow that also.

 

Bryon

Translate
12-Amethyst
Feb 12, 2026 3:43 PM UTC

Hello Bryon,

 

I am looking into this and will share more details If I find out. However, I found this article Is it possible to add secondary images alongside primary images in Windchill Service Information Manager that also applies to Arbortext Editor.

 

Regards,

Manpreet Singh

Translate
18-Opal
Apr 14, 2026 2:59 PM UTC

Hi Bryon--

Just based on your brief description, I think you would need to modify your DTD or XSD to allow more than one image element inside your cover page container. I don’t think there’s a way to allow this using just stylesheet modifications.

Potentially, you could jury-rig it by leveraging unused attributes. For example, if you know you will only have at most two image options, and your image element has something like an “outputclass” attribute, you could put the second “alternate” image URL in the outputclass attribute, and then your stylesheet could use the profiling logic to replace the graphic with the alternate if the proper profile is specified.

--Clay

Translate