[xquery-talk] Wrapping element conditionally

David Carlisle davidc at nag.co.uk
Mon Dec 16 08:46:31 PST 2013


On 16/12/2013 16:28, Misztur, Chris wrote:
> How would I get the output to look like:
>
> <html><body><p/></body><html>
>
> Or just:
>
> <p/>

<html><body><p>something here</p></body></html>/
    (if($wrap) then . else body/p)

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


More information about the talk mailing list