43
votes
Accepted
SVG and viewBox values
Inkscape uses mm as the default display-unit or user-unit for your document. User-units are used to store values in the SVG file.
<svg width="100" height="100" viewBox="0 0 26.458333 26.458333">...
6
votes
Accepted
An object is rotated by mouse in canvas. How to know its rotation degree?
It means an anti-clockwise (negative) rotation of 20.518343°, around the rotation centre: x=117.21587, y=182.16351
5
votes
Managing styles with CSS classes in Inkscape
You can't change it in the XML editor. However, I haven't used this before, but you might want to take a look at Extensions > Stylesheet > Merge styles into CSS, which is available in Inkscape 0.92
...
4
votes
Accepted
Illustrator data-driven maps
Doing this is pretty simple. All you need is:
A data file in a CSV form with names and values.
Each region shape to be filled annotated by the name.
Then all you do is a loop over each column, ...
3
votes
Indesign - importing images via xml
Unfortunately there is no way to size images pulling into InDesign via XML dynamically. It doesn't allow you to map attributes for size and position of images.
You can create an object style for your ...
3
votes
Multiple whitespace characters in XML for InDesign
The “Ignore White Space” setting will get rid of any spaces surrounding closing/opening tags and any trailing spaces before closing tags as leading spaces after opening tags. Choosing to ignore white ...
3
votes
Importing learning cards in Indesign from EXCEL or XML or JSON file while keeping some basic formatting
As a matter of fact, you can't retrieve styles from Excel to Indd.
Good practice is to style up your data variables in INDD, very easy to do.
Just apply paragraph (or character) styles to your ...
3
votes
Illustrator data-driven maps
From a purely level-of-effort perspective, consider trying Tableau. I'm pretty sure you can pick it up faster than a script can be written. You can also export your charts/maps to PDF for fine tuning ...
2
votes
Accepted
Illustrator error on switching variables data sets
Are you using visibility or graph variables? How about different whitespace symbols or unusual glyph fonts? There are some "issues" which occur during the population of data into the placeholders, and ...
2
votes
Accepted
InDesign: How to import frame breaks with XML?
You don't insert frame breaks into the XML contents. You do that in Paragraph Styles→Keep Options, where you set the start of the paragraph in the next frame.
But it requires that your XML content be ...
2
votes
Accepted
Importing learning cards in Indesign from EXCEL or XML or JSON file while keeping some basic formatting
So, I think I have an answer for your "second question" about how to deal with local formatting, like Bold or Italic.
The most efficient way to use styles in InDesign is to set your text using ...
2
votes
Adjusting a looped arrow SVG file to match the style with other arrows
In Inkscape, you can select both paths, and do Path > Stroke to path.
This will convert the strokes to outlines, with a fill.
Next, do Path > Union. This is a boolean operation which will ...
1
vote
How do I use specific paths to clip / mask an image in an svg file?
I can't access your file, so I can't be 100% sure.
Anyway, from your screenshot, it would appear to be a raster image because I can clearly see the jagged edges of pixels.
Inskcape can't really edit ...
1
vote
Dragging XML rows into indesign adds white space
Sample XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<data-set xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
<Row&...
1
vote
Accepted
Manipulating XML data in Adobe Illustrator
This is for Windows using Notepad++, but I assume also possible on a Mac with a text editor. Depending on the text editor, you may need to manually reload the file each time you make a change.
Save ...
1
vote
Accepted
After exporting xml from Indesign, the code is not well structured any more
If it is xml this is actually the right way. Contrary to html-documents, whitespaces you get from formatting xml-documents are often causing problems in the further processing. They are actual spaces ...
1
vote
Accepted
Adobe Illustrator Variable Data - XML & CSV data drops apostrophes and quotation marks in data
Seems to work fine for me, so i can not replicate the problem. Check what your file encoding is?As in: What does it say in the <?xml> tag and what does your text editor say that the file is ...
1
vote
Accepted
Inkscape: Can I use px in XML Editor?
You can.
Option a) (new file):
File > New from Template > default px
Option b) (existing file):
File > Document properties:
Set Display units to px
Set Scale to 1
Note: this option will change ...
1
vote
Can I use SVG to replace UI graphics with text on mobile devices?
That would work.
Give each text layer a name that conforms to XML naming conventions. This way you will get the same id for the exported SVG element.
It should be fine to simply remove the <tspan&...
1
vote
Can I use SVG to replace UI graphics with text on mobile devices?
Sure, you can do this, but then you can not use any of the features in the adobe text engine. This means:
No optical kerning
No justified text
No adjusting spacings in sentences
etc.
Which is ...
1
vote
Indesign - scriping xlink:href via scripts
XPath implementation in ExtendScript is far from complete. A lot of things and function that would work in a fully compliant XPath environment will fail.
Here is another approach that seems to do the ...
1
vote
Managing styles with CSS classes in Inkscape
go into inkspace 1.1 --> Extensions --> page style --> Merge Styles into CSS
add object --> apply created style, more information in https://wiki.inkscape.org/wiki/index.php/Style_Editor
...
1
vote
InDesign: How to import repeating XML with multiple masters
First of all, getting a "module" (see it as an elementary set of objects to be repeated) to be repeated require some specific tagging and layout preparation.
You need to have a primary text-frame ...
1
vote
Populate InDesign document with XML
You don't need to program anything. This behavior can be easily obtained with a bit of adjustment to your layout and tagging plus setting "Clone Repeating Text Elements".
Basically you need this in ...
1
vote
Include assignments when exporting XML from InDesign
Use this xsl on export
<?xml version="1.0" encoding="UTF-8"?>
<xsl:template match="/">
<xsl:apply-templates select="*"/>
</xsl:template>
<xsl:template match="Story"&...
1
vote
Making InDesign recognise image paths to network drives when importing XML
It's specifically for these reasons why Adobe does not recommend working from a server. They can't test every environment.
I realize it's frustrating and annoying. But unfortunately some networks ...
1
vote
Defining a resolution in Indesign XML Import for an image
I know this is an ancient post, but I have been dealing with this exact issue and I solved it.
There also doesn't seem to be much in terms of answers elsewhere online.
When importing images into ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xml × 68adobe-indesign × 37
svg × 13
adobe-illustrator × 11
inkscape × 11
indesign-scripting × 7
export × 6
import × 4
vector × 3
automation × 3
android × 3
text × 2
path × 2
page-layout × 2
formatting × 2
data-visualisation × 2
data-merge × 2
character-styles × 2
microsoft-excel × 2
print-design × 1
images × 1
cs6 × 1
icon × 1
interface-design × 1
animation × 1