Hi,
can you generate a dynamic xsl using database?
I have generated a report which is a dynamic xml populated from the database.How can we call a java program in a xsl.
<report>
<q_1_a>test1</q_1_a>
<q_1_b>test2</q_1_b>
<q_1_c>test3</q_1_c>
<q_1_d>test4</q_1_d>
</report>
I would like the xsl to pick the text from the java program for the elemeent name and descriptioni.e. <q_1_a>
Is it possible to generate a dynamic xsl than changing my xml which will make it lengthier.
The out put would be dynamic output from the java program will be the element q_1_a and the lengthier description.
The xml contains the column 1 values like
above is it possible to geneerate the names and map them
column 1 column2
q_1_a Is this a test?
q_1_b Is this a test1?
q_1_c Is this a test2?
Tha values of column 2 can be something lengthier like 255 char.
in order to avoid the dynamic xml to write the va;ue again and again i have given it names like q_1_a
the output would look like
column replace the elemnt tag
q_1_a
replaced
by the below content from database.
q_1_a q_1_b q_1_c
is this test? Is this test1? Is this text3?
note :here would be the value of this tags below
test1 test2 test3
Thanks,
can you generate a dynamic xsl using database?
I have generated a report which is a dynamic xml populated from the database.How can we call a java program in a xsl.
<report>
<q_1_a>test1</q_1_a>
<q_1_b>test2</q_1_b>
<q_1_c>test3</q_1_c>
<q_1_d>test4</q_1_d>
</report>
I would like the xsl to pick the text from the java program for the elemeent name and descriptioni.e. <q_1_a>
Is it possible to generate a dynamic xsl than changing my xml which will make it lengthier.
The out put would be dynamic output from the java program will be the element q_1_a and the lengthier description.
The xml contains the column 1 values like
above is it possible to geneerate the names and map them
column 1 column2
q_1_a Is this a test?
q_1_b Is this a test1?
q_1_c Is this a test2?
Tha values of column 2 can be something lengthier like 255 char.
in order to avoid the dynamic xml to write the va;ue again and again i have given it names like q_1_a
the output would look like
column replace the elemnt tag
q_1_a
replaced
by the below content from database.
q_1_a q_1_b q_1_c
is this test? Is this test1? Is this text3?
note :here would be the value of this tags below
test1 test2 test3
Thanks,