• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

XML Import Knoten duplizieren bei Seitenkopie

New Here ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

Ich habe eine Dokument mit folgender XML-Struktur:

<root>

<course id="66" xmlns:aid="http://ns.adobe.com/AdobeInDesign/4.0/">

<title>Geprüfter Fachwirt im Gesundheits- und Sozialwesen (IHK)</title>

<inhaltsbox>

<katalogtext>Das ist ein Beispieltext</katalogtext>

<termine>

<kurs>

<b>Kurs 1</b>

02.04.2017<![CDATA[–]]>31.03.2018

01.04.2017<![CDATA[–]]>31.03.2018

</kurs>

<referenten>Max Mustermann, ...</referenten>

</termine>

</inhaltsbox>

<tabelleLocations>

<table aid:table="table" aid:trows="1" aid:tcols="7">

<Cell aid:cellstyle="locationInactive" aid:table="cell">Ham</Cell>

<Cell aid:cellstyle="locationActive" aid:table="cell">Kol</Cell>

<Cell aid:cellstyle="locationInactive" aid:table="cell">Muc</Cell>

<Cell aid:cellstyle="locationInactive" aid:table="cell">Nue</Cell>

<Cell aid:cellstyle="locationInactive" aid:table="cell">Reg</Cell>

<Cell aid:cellstyle="locationInactive" aid:table="cell">Rhe</Cell>

<Cell aid:cellstyle="locationInactive" aid:table="cell">Sad</Cell>

</table>

</tabelleLocations>

<price>9.999,00 €</price>

<points>123 Fortbildungspunkte</points>

<fachbereichsliste>Sonstige</fachbereichsliste>

<themenbereich></themenbereich>

</course>

</root>

In verschiedenen Textrahmen sind diverse Knoten verknüpft.

Zum Beispiel der Konten "title" und der Knoten "inhaltsbox". Der Stammknoten "course" ist nicht verknüpft.

Jetzt will ich aber die Seite kopieren, so dass die xml struktur (ab course) entsprechend mit kopiert wird.

Dann könnte ich ein neues XML in den neu kopierten Knoten importieren.

Momentan werden nur die zugewiesenen Knoten kopiert, nicht aber der Stammknoten.

Kann ich diesen irgendwie zuordnen bzw. kann ich diesen Workflow überhaupt realisiern?

Gibt es alternativ ein Plugin, mit dem ich das realisieren kann?

Views

106

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation