Wiki

Articles tagged with "xml", sorted by date (updated)X
Displaying 1-3 of 3 result(s).

REST API and null values in XML

Updated 25 days ago by marko60Tips0 comments – viewed 1,922 times – version 2.0
I have been working on a REST API using the excellent tools provided by Yii2. My problem was that I have to differentiate between empty values and null values. In other words, <elem></elem> is different from null as it represents an empty string. Also, although some use <elem/> to represent a null value it should still be interpreted as an empty string. In other cases, the absence of the element is taken to represent a null value, but this may create problem with some parsers.
tags: REST, XML, null

Integrate Zend 2 XML writer into Yii

Updated 2 years ago by CeBeTutorials0 comments – viewed 4,697 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML

Create sitemap.xml file dynamically on root folder with one hit

Updated 4 years ago by kiran sharmaHow-tos1 comment – viewed 15,154 times – ( +5 / -5 ) – version 1.1
I had created one controller file which can create sitemap.xml file(which is used for seo, google crawler and many other puropse) dynamically with one run.
tags: SEO, SiteMap, XML