How can I disable parts of the XML file?

You can use the usual XML comments "<!--" and "-->" around an XML block to disable it. However, this won't work if the block to disable itself contains comments, because XML comments cannot be nested. Instead, you can use any XML tag which is not expected in the current context around the block, e.g., surround your block with "<comment>" and "</comment>". This will work even with additional such tags inside that block or XML comments inside the block. Note that this currently works because there is no structural XML validation in place.

Add new comment

Error | SoundHelix

Error

Error message

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1142 INSERT command denied to user 'o3587400'@'swh-live-web53.swh.1u1.it' for table 'drupal_accesslog': INSERT INTO {accesslog} (title, path, url, hostname, uid, sid, timer, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7); Array ( [:db_insert_placeholder_0] => How can I disable parts of the XML file? [:db_insert_placeholder_1] => node/56 [:db_insert_placeholder_2] => http://www.soundhelix.com/faq/how-can-i-disable-parts-of-the-xml-file [:db_insert_placeholder_3] => 18.207.163.25 [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => tvDomHXQZzBZtoof6SB_vwr4ed8f95TnMUeaylPOII0 [:db_insert_placeholder_6] => 1247 [:db_insert_placeholder_7] => 1711728199 ) in statistics_exit() (line 91 of /mnt/web305/e3/68/52429368/htdocs/soundhelix.com/public_html/modules/statistics/statistics.module).
The website encountered an unexpected error. Please try again later.