FANDOM


XML:Attribute testsEdit

correct output Edit

test=pass

both parameters unnamed Edit

{{:XML:Attribute|test|pass}}

test="pass"

name parameter named, value is unnamed Edit

{{:XML:Attribute|name=test|pass}}

test="pass"

name parameter unnamed, value is named Edit

{{:XML:Attribute|name=test|pass}}

test="pass"

both parameters named Edit

{{:XML:Attribute|name=test|value=pass}}

test="pass"

XML:PI testsEdit

correct output Edit

<?foo hello world?>

both parameters unnamed Edit

{{:XML:PI|foo|hello world}}

<?foo hello world?>

target parameter named, second is unnamed Edit

{{:XML:PI|pitarget=foo|hello world}}

<?foo hello world?>

XML:Declaration testsEdit

correct output Edit

<?xml version="1.0" encoding="UTF-8"?>

no parameters given Edit

{{:XML:Declaration}}

<?xml version="1.0" encoding="UTF-8"?>

version parameter given but unnamed, encoding not given Edit

{{:XML:Declaration|1.0}}

<?xml version="1.0" encoding="UTF-8"?>

both parameters given but unnamed Edit

{{:XML:Declaration|1.0|UTF-8}}

<?xml version="1.0" encoding="UTF-8"?>

version parameter given and named, encoding not given Edit

{{:XML:Declaration|version=1.0}}

<?xml version="1.0" encoding="UTF-8"?>

version parameter given and named, encoding given but not named Edit

{{:XML:Declaration|version=1.0|UTF-8}}

<?xml version="1.0" encoding="UTF-8"?>

version parameter given but not named, encoding given and named Edit

{{:XML:Declaration|1.0|encoding=UTF-8}}

<?xml version="1.0" encoding="UTF-8"?>

both parameters given and named Edit

{{:XML:Declaration|version=1.0|encoding=UTF-8}}

<?xml version="1.0" encoding="UTF-8"?>

version parameter not given, encoding given and named Edit

{{:XML:Declaration|encoding=UTF-8}}

<?xml version="1.0" encoding="UTF-8"?>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.