138 reputation
9
bio website
location Budapest, Hungary
age
visits member for 2 years, 9 months
seen Feb 2 at 14:33

Sep
9
revised Create XML files on post edit screen
added updates
Sep
9
suggested suggested edit on Create XML files on post edit screen
Sep
9
comment Create XML files on post edit screen
Thanks for helping me out Kaiser. I've found the solution and will edit your answer shortly. Thx.
Sep
9
awarded  Scholar
Sep
9
accepted Create XML files on post edit screen
Sep
9
comment Create XML files on post edit screen
Yeah, the field function echoes those lines. Does that mean, that 1. either calling the fields could only happen after foreach, 2. this plugin is simply cannot be used for something like this?
Sep
9
comment Create XML files on post edit screen
Well, yeah it could be, I'll look into its documentation. Would you like to see the field() function's code?
Sep
9
comment Create XML files on post edit screen
Thanks for the edit. Using your code, the XML tree is built, the datas from the fields are called - only their values are at the top of the page, while the XMl nodes under are empty.
Sep
9
comment Create XML files on post edit screen
Thx for still being around. I actually don't know how to see the edits of my paste. Created an account and pasted it again: http://pastebin.com/B6KTtuht I Found the same google tuto after started this conversation, I think I'm still trying to do it the hard way with WP.
Sep
9
comment Create XML files on post edit screen
I updated my original question with a snippet, pls have a look.
Sep
9
revised Create XML files on post edit screen
added 719 characters in body
Sep
8
comment Create XML files on post edit screen
Sorry Kaiser, guess my question was a bit reckless. I always edited KMLs in a text-editor, and honestly have know idea how to write xml files with php. At first I thought I just echo the values between the tags and that's it, apparently this is not that simple... I think the first step is to finish the page where I output the values and then somehow I convert that page to XML, would it be the correct way?
Sep
8
awarded  Editor
Sep
8
revised Create XML files on post edit screen
added 327 characters in body
Sep
8
comment Create XML files on post edit screen
link Sorry.
Sep
8
comment Create XML files on post edit screen
Thanks. I'm just experiencing right now, my code looks a bit messy. I'm using ACF's repeater field to be able to create multiple placemarks and so on... But actually I don't know what to except as the result, when I look the preview in the browser only the values are shown, the xml nametags are not.. is this normal?
Sep
8
awarded  Student
Sep
8
asked Create XML files on post edit screen