[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

dynamic xhtml with xquery

Adam Retter adam.retter at googlemail.com
Fri Jul 10 20:14:30 PDT 2009


  dynamic xhtml with xquery
No worries, if it happens that its a more generic XQuery question
please do post back here. Some example code to see how your doing what
your doing would help as well.


2009/7/10 Gary Lewis <http://x-query.com/mailman/listinfo/talk>:
> Hi Adam - It did not occur to me that it might be related to zorba.
> I'll write their mailing list. Thanks. ... Gary
>
>
> On Fri, Jul 10, 2009 at 1:32 PM, Adam Retter<http://x-query.com/mailman/listinfo/talk> wrote:
>> It sounds like you have some sort of text/xml serialization issue,
>> your enquiry sounds quite specific to Zorba, have you tried their
>> mailing list yet?
>>
>>
>>
>> 2009/7/10 Gary Lewis <http://x-query.com/mailman/listinfo/talk>:
>>> I'm stuck on a problem that must occur frequently, yet lots of
>>> reading, google searches, and xquery experimentation have not
>>> yet provided a solution. I'm writing in hopes that someone can point
>>> me to an faq or similar info.
>>>
>>> Here's the situation. I'd like to use xquery to write dynamic xhtml
>>> (ie, to write xhtml on-the-fly that can be viewed in a browser without
>>> additional editing).
>>>
>>> I started with a small project involving rss, using zorba's xquery
>>> REST functionality and GET to access the rss (returned as xml). I then
>>> wrote an xquery to serialize the xml and return xhtml. No problems
>>> when displayed in a browser (Firefox) ... except for special
>>> characters. As you'd expect, the GET returns angle brackets as &lt;
>>> and &gt; and since the rss contains many href links there
>>> are many of these &lt; and &gt; substitutions. The browser renders
>>> them correctly as > and < but, naturally, the resulting href is
>>> seen as text and not as a link.
>>>
>>> I've tried lots of different possible solutions, all of which I
>>> realize now were silly although useful for learning what not to do.
>>>
>>> Any help would be much appreciated.
>>>
>>> Thanks.
>>>
>>> Gary Lewis
>>> _______________________________________________
>>> http://x-query.com/mailman/listinfo/talk
>>> http://x-query.com/mailman/listinfo/talk
>>>
>>
>>
>>
>> --
>> Adam Retter
>>
>> sip:http://x-query.com/mailman/listinfo/talk
>> http://www.adamretter.org.uk
>>
>



-- 
Adam Retter

sip:http://x-query.com/mailman/listinfo/talk
http://www.adamretter.org.uk


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.