Author |
Message
|
ydsk |
Posted: Tue Oct 02, 2007 6:03 am Post subject: output of xslt is always an xml ? |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
Hi,
I am curious to know if the output of xslt can be anything other than an xml.
We want to provide an xml as input to an xslt node but we want a custom formatted text output made from the values of input xml tags.
Pls advise if that is possible.
thanks.
ydsk. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 02, 2007 6:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
XLST can output HTML, and other things.
It must always start with XML.
It's going to be easier to use MRM and produce a CWF or TDS model of your custom formatted text output than it will be to write an XSLT. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kimbert |
Posted: Tue Oct 02, 2007 6:27 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
XSLT can do what you need. That's why the output domain of an XMLT node is 'BLOB' rather than one of the XML domains. |
|
Back to top |
|
 |
ydsk |
Posted: Tue Oct 02, 2007 6:42 am Post subject: |
|
|
Chevalier
Joined: 23 May 2005 Posts: 410
|
I understand the output parser can be anything like BLOB / XML, etc.
I know an output xml can be parsed using BLOB, and vice-versa.
But if I give an xml input to xslt can I get an output that looks like:
/TEXT
/START
some data from a tag in input xml
/END
Thanks.
ydsk. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 02, 2007 6:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Yes, you can use XSLT to do that.
It's not clear that using XSLT is a good way to do that, in message broker. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|