"Things" in EAD

Error Message
NESTING ERROR, trying to pop LineIndent, found Italic
Stack from parent:
<?xml version="1.0" encoding="utf-8"?>
<LineIndent>
   <Text> http:</Text>
   <Italic>
      <Text>{domain}/id/{concept}/{reference} where: concept is a name for a class (resource type), like person reference is a name for an individual instance of that class or type</Text>
      <BlankLines count="1"/>
   </Italic>
</LineIndent>
Error Message
ERROR input ended inside // ... //
Error Message
NESTING ERROR, trying to pop LineIndent, found Italic
Stack from parent:
<?xml version="1.0" encoding="utf-8"?>
<LineIndent>
   <Text> http:</Text>
   <Italic>
      <Text>{domain}/id/{concept}/{reference} where: concept is a name for a class (resource type), like person reference is a name for an individual instance of that class or type</Text>
      <BlankLines count="1"/>
   </Italic>
</LineIndent>
Error Message
ERROR input ended inside // ... //

The LOCAH Project has a post by Pete Johnston where he talks about the things that make up an EAD document. The thing is to write some xslt to grab that data from the EAD doc

Urls for "things"

http: {domain}/id/{concept}/{reference} where: concept is a name for a class (resource type), like person reference is a name for an individual instance of that class or type
This post has all the xpaths that he is using