Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML to URL Encoded (XSLT?)

843834Mar 15 2006 — edited Mar 15 2006
I have some data in a Document object and need to convert it to URL encoded format so, for example this:

<share>
<code>GSK</code>
<price>13.34</price>
</share>

becomes something like...

&code=GSK&price=13.34& ...

I've been looking into doing this with XSLT but have run into difficulties. Do you think this is the best way of solving this problem, or is there another easier way?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2006
Added on Mar 15 2006
2 comments
506 views