fix xml poco for arrays
This commit is contained in:
parent
3aab1c7140
commit
c4a5fcaf27
|
@ -2,10 +2,6 @@
|
|||
{{ if $entry.id }}<id>$entry.id</id>{{ endif }}
|
||||
{{ if $entry.displayName }}<displayName>$entry.displayName</displayName>{{ endif }}
|
||||
{{ if $entry.preferredUsername }}<preferredUsername>$entry.preferredUsername</preferredUsername>{{ endif }}
|
||||
{{ if $entry.urls }}
|
||||
{{for $entry.urls as $url }}
|
||||
<urls><value>$url.value</value><type>$url.type</type></urls>
|
||||
{{endfor}}
|
||||
{{ endif }}
|
||||
{{ if $entry.photos }}<photos><value>$entry.photos.value</value><type>$entry.photos.type</type></photos>{{ endif }}
|
||||
{{ if $entry.urls }}{{ for $entry.urls as $url }}<urls><value>$url.value</value><type>$url.type</type></urls>{{ endfor }}{{ endif }}
|
||||
{{ if $entry.photos }}{{ for $entry.photos as $photo }}<photos><value>$photo.value</value><type>$photo.type</type></photos>{{ endfor }}{{ endif }}
|
||||
</entry>
|
||||
|
|
Loading…
Reference in a new issue