[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Preserving Graphic Entities

Subject: Re: Preserving Graphic Entities
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jul 2022 20:26:58 -0000
Re:  Preserving Graphic Entities
On 13.07.2022 22:15, rick@xxxxxxxxxxxxxx wrote:
>
>
> 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/Gra
phics.dtd"
> [
>
> <!NOTATION jpegB B B  PUBLIC "">
>
> <!ENTITY abc123 SYSTEM "3753.jpeg" NDATA jpeg>
>
> <!ENTITY SingleImportedImage1 SYSTEM "11721.jpeg" NDATA jpeg>
>
> ]>
>
> <Document>
>
> B B B  <Paragraph>Sample for testing graphics export to XML.</Paragraph>
>
> B B B  <Paragraph>Single imported image:</Paragraph>
>
> B B B  <Graphic boardno="abc123" reprowid="2.567in" reprodep="3.367in"/>
>
> B B B  <Paragraph>Single imported image:</Paragraph>
>
> B B B <Graphic boardno="SingleImportedImage1" reprowid="2.567in"
> reprodep="3.367in"/>
>
> </Document>
>
That is the input, I suppose. What should be the output?

Which processor, Saxon PE or EE?
https://www.saxonica.com/html/documentation11/functions/saxon/unparsed-entiti
es.html,
https://www.saxonica.com/html/documentation11/extensions/instructions/doctype
.html

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.