0

XML Output

asked 2010-02-05 06:15:02 +0800

tredmond gravatar image tredmond
21 1

Hi, I want to generate a very simple XML document from a page instead of UI components. I don't want to use an XML schema, I just want to write back plain text XML.

I've read the example about RSS and SVG and they're no help as they use schemas. I just want to do something like www.abc.com/app/get.zul and it returns

<root>
<home>3</home>
<away>4</away>
</away>

Any ideas?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-02-05 07:14:43 +0800

tredmond gravatar image tredmond
21 1

Sorted. Missed the bit about registering in zk.xml and web.xml so now I have my file type (crt) registered as a language mapping in zk.xml and *.crt as a servlet mapping back to ZKLoader

All is well.....

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-02-05 06:15:02 +0800

Seen: 371 times

Last updated: Feb 05 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More