XMLElement[tag,{attr1val1,…},{data1,…}]
represents an element in symbolic XML.


XMLElement
XMLElement[tag,{attr1val1,…},{data1,…}]
represents an element in symbolic XML.
Details

- XMLElement[tag,{attr1->val1,…},{data1,…}] corresponds to XML of the form
.
- Both tag and the attri can either be strings, or pairs of strings, with the first string specifying a namespace.
- The datai can consist of strings or XMLElement or XMLObject expressions.
See Also
Tech Notes
Related Guides
Related Workflows
- Import XML
History
Introduced in 2002 (4.2)
Text
Wolfram Research (2002), XMLElement, Wolfram Language function, https://reference.wolfram.com/language/ref/XMLElement.html.
CMS
Wolfram Language. 2002. "XMLElement." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/XMLElement.html.
APA
Wolfram Language. (2002). XMLElement. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/XMLElement.html
BibTeX
@misc{reference.wolfram_2025_xmlelement, author="Wolfram Research", title="{XMLElement}", year="2002", howpublished="\url{https://reference.wolfram.com/language/ref/XMLElement.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_xmlelement, organization={Wolfram Research}, title={XMLElement}, year={2002}, url={https://reference.wolfram.com/language/ref/XMLElement.html}, note=[Accessed: 08-August-2025]}