Output Content of XML-Element?
Output Content of XML-Element?
Hello,
I am new to Stimulsoft and want to know, wether it is possible to output the value of an XML-Element. I only managed to print attribute values.
For example I have the following data
Die Beschreibung der Fachklasse 2-07 aus Paket "Fachklassenpaket 2".
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
And want to generate the following as output:
Beschreibung
Die Beschreibung der Fachklasse 2-07 aus Paket "Fachklassenpaket 2
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
I am new to Stimulsoft and want to know, wether it is possible to output the value of an XML-Element. I only managed to print attribute values.
For example I have the following data
Die Beschreibung der Fachklasse 2-07 aus Paket "Fachklassenpaket 2".
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
And want to generate the following as output:
Beschreibung
Die Beschreibung der Fachklasse 2-07 aus Paket "Fachklassenpaket 2
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Output Content of XML-Element?
Hello.
The unsupported html tags are invisible. You should prepare data for such output because "Titel" attribute will be ignored too.
Thank you.
The unsupported html tags are invisible. You should prepare data for such output because "Titel" attribute will be ignored too.
Thank you.
Output Content of XML-Element?
Hello,
I found a solution for my problem:
if you have the following XML you cannot output the text:
But if you chage your XML to the following format
you can build a subreport for the bar-elements and display the baz content there. This solved my problem.
Clemens
I found a solution for my problem:
if you have the following XML you cannot output the text:
Code: Select all
text 1
text 2
Code: Select all
text 1/
text 2/
Clemens
Output Content of XML-Element?
Hello,
Let us know if you need any additional help.
Thank you.
Let us know if you need any additional help.
Thank you.
Output Content of XML-Element?
Hello
well the proble how to display mixed text is still difficult - I want to display the following XML in one Text-Field, with the formatting given by the text - the only way how to achive this, seems to be the usage of RTF?!
Regards
well the proble how to display mixed text is still difficult - I want to display the following XML in one Text-Field, with the formatting given by the text - the only way how to achive this, seems to be the usage of RTF?!
Code: Select all
Hier steht eine äußerst interessante
Spezifikation.
Dies ist ein
Hyperlink.
Output Content of XML-Element?
Hello.
You could use and tags for this needs.
But if you want to use Hyperlink. You could set the Hyperlink property for the whole text component.
As an option you could copy Richtext with hyperlink to the Richtext component but it will be shown right in Word or Richtext exports.
Thank you.
The list of supported html tags you could find in our manual at the 3.6 HTML Tags section.csbrogi wrote:well the proble how to display mixed text is still difficult - I want to display the following XML in one Text-Field, with the formatting given by the text - the only way how to achive this, seems to be the usage of RTF?!
Code: Select all
Hier steht eine äußerst interessante Spezifikation. Dies ist ein Hyperlink.
You could use and tags for this needs.
But if you want to use Hyperlink. You could set the Hyperlink property for the whole text component.
As an option you could copy Richtext with hyperlink to the Richtext component but it will be shown right in Word or Richtext exports.
Thank you.
Output Content of XML-Element?
Hello,
Thanks
Clemens
but as far as I understand the documentation HTML-tags are only supported in fixed texts, not inside the values read from the xml-data-source, so the only way to generated formatted text is to use rtf-text or am I missing something?The list of supported html tags you could find in our manual at the 3.6 HTML Tags section.
You could use and tags for this needs.
But if you want to use Hyperlink. You could set the Hyperlink property for the whole text component.
Thanks
Clemens
Output Content of XML-Element?
Hello, Clemens.
Thank you.
HTML-tags are supported in both cases. But you should use Character entity references in the XML file. For example, the Grade field:csbrogi wrote:but as far as I understand the documentation HTML-tags are only supported in fixed texts, not inside the values read from the xml-data-source, so the only way to generated formatted text is to use rtf-text or am I missing something?
Code: Select all
<b>B</b>