http://www.zorba-xquery.com/site2/doc/latest/zorba/xqdoc/xhtml/examples/test_html_Queries_converters_html_tidy_1.html
shows that the option parameters are set exactly like the W3C spec for 
fn:serialize describes:
http://www.w3.org/TR/xpath-functions-30/#func-serialize

So this bug should be closed.

** Changed in: zorba
    Milestone: None => 2.1

** Changed in: zorba
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867350

Title:
  mess of serialization params

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  please, add a few examples in the documentation of 
  
http://www.zorba-xquery.com/doc/zorba-latest/zorba/xqdoc/xhtml/com/zorba-xquery/www/modules/serialize.html#serialize-2
 that would make the users life more easier.

  Also, there are 3 different ways of setting serialization parameters:

  ser:serialize( $items, <output indent="yes" omit-xml-declaration="yes" /> )
  fs:write( $file, $content, <indent>yes</indent> )
  zu:tidy( $item, '"indent=yes"')

  as far as it is possible according to standardization and backwards
  compatibility issues it would be great if they were interchangable.
  for example:

  zu:tidy( $item,  <indent>yes</indent> )
  zu:tidy( $item,  <output indent="yes" omit-xml-declaration="yes" />)

  should be valid.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867350/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to