0
Creating dynamic FM variables using XSLT
Community Beginner
,
/t5/framemaker-discussions/creating-dynamic-fm-variables-using-xslt/td-p/14765947
Jul 28, 2024
Jul 28, 2024
Copy link to clipboard
Copied
Hello,
I have a problem which I have not found any solutions to yet.
I have an XML file that looks like this
<root>
<firstelement>
<text>content</text>
<description>content</description>
<secondelement>
<text><variable>variable</variable>content</text>
<description>
</secondelement>
</firstelement>
</root>
I wrote an XSLT to transform this into a flat hierarchy so I can display it as table. My problem is that I may be too inexperienced with XSLT or my googlefu is not strong enough but I haven't found a way to transform the <variable> elements & their content into <!ENTITY> elements.
Is it even possible to do this with XSLT?
Thank you for any help.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

