need to export a sql table to xml, with paging for wordpress, follows the table and an example of how you want the XML file, with paging in xml using the string
? page = 1
table
content table - wp_posts
They are bound by the id_not
of thumb pictures table - tb_img_conteudo
picture gallery table - tb_pics
<item>
<uid>IDENTIFICADOR UNICO</uid>
<data_pub>DATA HORA GMT-3</data_pub>
<title>TITULO</title>
<slug>CAMINHO RELATIVO</slug>
<description>OLHO</description>
<credit>CREDITO</credit>
<authors>AUTOR</authors>
<body>CORPO</body>
<tags>TAGS SEPARADO POR VIRGULAS</tags>
<edicao>IDENTIFICADOR DA EDICAO - OPCIONAL</edicao>
<categoria>SEÇÃO SEPARADO POR VIRGULAS</categoria>
<imagens>CAMINHO ABSOLUTO DAS IMAGENS DA GALERIA SEPARADO POR VIRGULAS</imagens>
<imagensmetadata>
<titles>TITULO DE CADA IMAGEM DA GALERIA SEPARADO POR VIRGULAS</titles>
<captions>CREDITO DA FOTO SEPARADO POR VIRGULAS </captions>
<alts>DESCRICAO DA FOTO SEPARADO POR VIRGULAS</alts>
</imagensmetadata>
</item>
if you deliver all the data thats required.
thumb pictures table - tb_img_conteudo
picture gallery table - tb_pics
What's the output you expectation?
Do you want a php file to run it on your own environment or an xml file with the result.