Samwise Posted July 27, 2019 Share Posted July 27, 2019 I make a LOT of use of InDesign's XML import capability. The granularity to which I can define character and paragraph styles that automatically get defined when importing has made my workflow faster than I ever thought possible (and I have XML records that can be scraped to build databases). If you could provide XML import in some fashion, I could fire Adobe and be perfectly happy with your product. Barring an import capability, is there any information on the Affinity File Format that has been published, or is it all proprietary? Thanks in advance for your replies nodeus, John Potts, PaoloT and 1 other 4 Quote Link to comment Share on other sites More sharing options...
John Potts Posted July 28, 2019 Share Posted July 28, 2019 I'm also interested in this, specifically support of processing a DITA or DocBook XML formats. However, a defined Affinity format that Samwise mentioned I could use XSLT to achieve would be useful as well. PaoloT 1 Quote Link to comment Share on other sites More sharing options...
bob0 Posted October 29, 2019 Share Posted October 29, 2019 I am actually considering to switch from InDesign+Photoshop to Affinity Publisher+Photo. With InDesign, my workflow heavily depends on XML import. Is there a way to import XML data in a document like in InDesign? Quote Link to comment Share on other sites More sharing options...
MikeW Posted October 29, 2019 Share Posted October 29, 2019 20 minutes ago, bob0 said: ... Is there a way to import XML data in a document like in InDesign? No. Quote Link to comment Share on other sites More sharing options...
Seneca Posted October 29, 2019 Share Posted October 29, 2019 7 minutes ago, MikeW said: No. While you are absolutely right, it sounds too harsh. Let's say not yet. :-) Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4 Link to comment Share on other sites More sharing options...
000 Posted October 29, 2019 Share Posted October 29, 2019 Small "yes, maybe, I don't know" from me. I currently copy and paste XML code into Publisher, then use GREP find and replace to assign paragraph and character styles -- works for me so far, but I only use it for small-ish projects because some other features in Publisher need more polishing and general enhancements before I'm going trust it with larger jobs. It's also noteworthy that the find-replace commands cannot be saved as macro or script, so I keep them in a separate text file and copy-paste them into the find-replace fields one-by-one and also select the styles that I want to apply individually each time. Not ideal, but I want to use Publisher as much as possible and will appreciate it even more, when some automation features arrive at some later point. No comparison to InDesigns XML capabilities, but a feasible workaround for the time being. PaoloT 1 Quote Link to comment Share on other sites More sharing options...
MikeW Posted October 29, 2019 Share Posted October 29, 2019 7 minutes ago, Seneca said: While you are absolutely right, it sounds too harsh. Let's say not yet. :-) Reality is often harsh. Not yet gives hope. The next question I suspected would be Do you know when? To which the answer, the fuller answer, would be No I do not know when and Serif has never, to the best of my knowledge, indicated XML will ever be added. So the simple answer No is apt. Patrick Connor 1 Quote Link to comment Share on other sites More sharing options...
David Kadavy Posted September 2, 2020 Share Posted September 2, 2020 Up until now I have been convinced that I would lay out my next book in Publisher instead of InDesign. But I can't imagine doing that without an XML import. After formatting an entire 60,000 word book in my word processing program, I'm supposed to go through it line by line to add the proper styles – essentially formatting the entire thing again? No way! Damn, that's disappointing – I was looking forward to making the switch. Quote Link to comment Share on other sites More sharing options...
Seneca Posted September 2, 2020 Share Posted September 2, 2020 28 minutes ago, David Kadavy said: After formatting an entire 60,000 word book in my word processing program, I'm supposed to go through it line by line to add the proper styles – essentially formatting the entire thing again? No way! If you formatted your document using Paragraph Styles and Character Styles you don't need to do it again. All styles are copied over to Publisher and you can continue editing your project from there. Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4 Link to comment Share on other sites More sharing options...
David Kadavy Posted September 3, 2020 Share Posted September 3, 2020 Thanks for the idea. I see that if I import RTF via Google Docs those styles – along with their respective style names – do import. Is there a way to import so that existing styles that I have designed within Publisher will automatically be applied to what I import? Quote Link to comment Share on other sites More sharing options...
Seneca Posted September 3, 2020 Share Posted September 3, 2020 25 minutes ago, David Kadavy said: Is there a way to import so that existing styles that I have designed within Publisher will automatically be applied to what I import? Your best bet at the moment is to use Find and Replace facility from within Publisher to find styles you assigned in a Word processing app and replace it with styles you created in Publisher. Unless you have hundreds of styles this should not be that much of a problem. Publisher is not smart enough to assign styles available in Publisher with the style names imported from external sources. I hope you are aware that Publisher can import .docx files as well. Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4 Link to comment Share on other sites More sharing options...
David Kadavy Posted September 3, 2020 Share Posted September 3, 2020 Thanks. Is there a reason I might prefer .docx over .rtf? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted September 3, 2020 Share Posted September 3, 2020 27 minutes ago, David Kadavy said: Thanks. Is there a reason I might prefer .docx over .rtf? When you import DOCX into Publisher it will maintain text style information better than when you import RTF. I'm not sure if that is due to the characteristics of RTF files, or something in Publisher's support of them. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 17.6.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.6.1 Link to comment Share on other sites More sharing options...
loukash Posted January 11, 2021 Share Posted January 11, 2021 On 7/27/2019 at 4:05 AM, Samwise said: I make a LOT of use of InDesign's XML import capability. The granularity to which I can define character and paragraph styles that automatically get defined when importing has made my workflow faster than I ever thought possible (and I have XML records that can be scraped to build databases). If you could provide XML import in some fashion, I could fire Adobe and be perfectly happy with your product. Same here, thus bumping this thread. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
Chris88 Posted September 9, 2021 Share Posted September 9, 2021 I just want to add my voice to this request. I chose the Affinity suite because you can own it outright; I've never used Adobe's products and I really don't want to. So far the Affinity suite has enabled me to do all the things I want to do. However, I am starting a small publishing house and would like to develop an XML-first workflow, which is standard now across the industry because it facilitates the production of different editions for diverse platforms from the same core text. Affinity Publisher's lack of an XML import function forces me to consider purchasing a subscription to Adobe InDesign, even though for the sake of simplicity and competition and out of preference for your non-subscription model, I'd much prefer a pure Affinity workflow. pquadrat 1 Quote Link to comment Share on other sites More sharing options...
pquadrat Posted October 11, 2021 Share Posted October 11, 2021 Dear Developers, Users & Fans of Affinity, I'm newly in Affinity products since v.1.9 but have been working several years within the context of Adobe products and other (C1 etc.). Using the Affinity products, I became some kind of a fan of them. Coming from the view of my work, I want to underline the need for syntactical XML import in Affinity Publisher, as in my company, we have established a Single Source Publishing Workflow based on Database and especially highly syntactical XML-Data, publishing into Web, other electronical Media up to Folders and Books since somewhat before 2010(!). There are many reasons for leaving the "Adobe Pathway" or proprietary other products like QuarkXPress. So, in (semi)professional context, import of syntactical XML is very important. Thanks and have a good day. Old Bruce 1 Quote Link to comment Share on other sites More sharing options...
PaoloT Posted October 15, 2021 Share Posted October 15, 2021 On 9/3/2020 at 6:17 PM, walt.farrell said: When you import DOCX into Publisher it will maintain text style information better than when you import RTF. I'm not sure if that is due to the characteristics of RTF files, or something in Publisher's support of them. That's promising, since DOCX is an XML file, only with its own schema. RTF is an older file format, loosely related to the old DOC format, that is much more difficult to read. Paolo Quote Link to comment Share on other sites More sharing options...
Nedde Posted July 11, 2022 Share Posted July 11, 2022 Is it true, that within 3 years nothing had happend regarding the import of XML in Publisher? I am quite a fan of Affinity but/and this would be a great and essential thing for me as designer. Thank you!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.