Xml question. Do not see error

Hello all.
First time working w/xml.
the first line, showed just fine. then i added the “businessCard” section

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet type="text/css" href="style.css"?>

	First xml file
<name>sans serif</name>
<phone type="mobile">123456</phone>
<phone type="work">789101112</phone>
<phone type="fax">1314151617</phone>

and supposedly have an error at “error on line 7 at column 1: Extra content at the end of the document”
which would place it at<BusinessCard>
But i have no spaces there or extra content i can see.

You can have only one “root” tag

right. googled before posting…and thougth my root tag was " BusinessCard"
But i’d have to guess that in <first tag> is considered a root tag?

yup looks that way just put the <FirstTag> First xml file </FirstTag>

inside the group and it works.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.