Maybe you'd be successfull with a small service pipeline, that uses xml/xslt instead of jx.

I did this once, the basic idea was:

- writing a custom generator, that parsed the string to a DOM Document (in your case I think this could be done by simply wrap your service response with a tag). I ran into trouble when the middle tier switched to DOM processing instead of string made xml's, because suddenly the document started with the xml declaration :-), but I guess thats no prob for you.

- I think this could be done with <map:aggregate elememt="servicewrapper"><map:generate src="your service request"></map:aggregate> too, but I have not tested this one

Then I passed this to a stylesheet, that basically was a identity transformation, just doing some <para> to <p> stuff. This pipeline was called by the "big delegator is doing the work pipeline"...

HTH,
tom

footh wrote:

In Javaflow, I call out to a web service (Google's, to
be specific) and get a bunch of results returned. Then, I combine these results into my own XML DOM
object, stuff the object into a Parameter map and send
it off to a JX page. As a result, I can easily inject
the XML fragment into my page by merely writing the
variable out.

However, the results sometimes have HTML embedded
within them (example, <b></b> tags to bold certain
words).  Using the method described above, this
embedded HTML gets converted to &gt; and &lt;
somewhere along the way.

I'm wondering at what point this occurs (building the
DOM object, or the JX engine printing out the DOM
object) and if there is any simple way to retain the
HTML.  I have an idea for an ugly way to resolve this
but was hoping that someone on the list might have
some insight.

-JF

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to