[xsl] Preserving Graphic Entities

Subject: [xsl] Preserving Graphic Entities
From: "rick@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jul 2022 20:15:30 -0000
Hello All,

 

I am sorry if this is an old question, but when I export to XML, I am
getting graphic entities. I need to preserve these when I transform the file
with XSLT 3. Is there a built-in way to do this or some kind of realistic
hack? Below is a sample before transformation. Thank you very much.

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE Document SYSTEM
"file:///C:/Users/rick/AppData/Roaming/Adobe/FrameMaker/16/Orion-graphics/Gr
aphics.dtd" [

 

<!NOTATION jpeg    PUBLIC "">

<!ENTITY abc123 SYSTEM "3753.jpeg" NDATA jpeg>

<!ENTITY SingleImportedImage1 SYSTEM "11721.jpeg" NDATA jpeg>

]>

 

<Document>

    <Paragraph>Sample for testing graphics export to XML.</Paragraph>

    <Paragraph>Single imported image:</Paragraph>

    <Graphic boardno="abc123" reprowid="2.567in" reprodep="3.367in"/>

    <Paragraph>Single imported image:</Paragraph>

   <Graphic boardno="SingleImportedImage1" reprowid="2.567in"
reprodep="3.367in"/>

</Document>

 

Rick

Current Thread