Hi, I am new to XSLT and have a question on how to dynamically
generate columns in XSL style sheet that can be applied generic xml files that
has the same document structure but with different number of columns and column
names. The XML file is shown below. In this case, the number of columns is 3
and column names are the elements’ name (e.g., COUNTRY_ID, COUNTRY_NAME
and REGION_ID. Thanks in advance
for your assistance. -Jamie
<?xml version="1.0"
encoding="ISO-8859-1"?>
<?xml-stylesheet
type="text/xsl" href="http://rome:18080/countries.xsl"?>
<result>
<row>
<COUNTRY_ID>AR</COUNTRY_ID>
<COUNTRY_NAME>
<REGION_ID>2.0</REGION_ID>
</row>
<row>
<COUNTRY_ID>AU</COUNTRY_ID>
<COUNTRY_NAME>
<REGION_ID>3.0</REGION_ID>
</row>
result>