|
Subject: [xsl] How to include the name of a xml document in the content of a tag . From: "Rua Costas, Beatriz" <bruac@xxxxxxxxxxx> Date: Tue, 23 Oct 2001 18:50:21 +0200 |
Hello everyone,
I am using a xsl document to do several transformations in xml files.
I would like to include in the xml document the name of the file like the
content of a tag.
E.g.:
Original XML (before XSL Transformation):
<?xml version="1.0" encoding="ISO8859-1" ?>
<CATALOG>
<CD>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
.
.
.
Final XML (after XSL Transformation):
<?xml version="1.0" encoding="ISO8859-1" ?>
<CATALOG>
<CD>
<DOC>The_name_of_the_xml_document</DOC>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
.
.
.
Is there any easy way to get the name of the xml document using a xsl file?
Thank you.
Beatriz
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Require ODBC link from XALAN, Burisch, Curtis | Thread | RE: [xsl] How to include the name o, Chris Bayes |
| [xsl] Require ODBC link from XALAN, Burisch, Curtis | Date | RE: [xsl] xsl and javascript, Chris Bayes |
| Month |