xsl-list
[Top] [All Lists]

Getting Entity File Names

2003-10-22 10:38:48

I want to grab the filenames of where certain elements are found.
Is there anyway to do this with XSLT?  For example, below is a
sample document:

<!DOCTYPE foo [
<!ENTITY foo1 SYSTEM "foo1.xml">
<!ENTITY foo2 SYSTEM "foo2.xml">
   ...
<!ENTITY foo900 SYSTEM "foo2.xml">
]>
<foo>
&foo1;
&foo2;
 ...
$foo900;
</foo>

I would the output to say something like:

<p>Found "myfoo" in file foo43</p>

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey, XML Professional       | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
harvey(_at_)eccnet(_dot_)com                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list