0

I am exporting articles from InDesign to XML to import it on our website.

Now I want to import the images. I put it in a tag in InDesign called "IMG". The standard output without XSL looks like this:

<Artikelbild href="file:///K:/customer/flyer/banana.jpg"></Artikelbild>

I need it like this:

<Artikelbild>banana.jpg</Artikelbild>

Any idea how to do this?

1 Answer 1

0

Servus,

You can solve it with Regular Expression (GREP) on Indesign, BBEdit or even Dreamweaver. It goes as follows:

Find
.+(\w+?\.jpg).+

Change
 <Artikelbild>$1</Artikelbild>

Viel Erfolg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.