shows that the option parameters are set exactly like the W3C spec for 
fn:serialize describes:

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.

  mess of serialization params

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  please, add a few examples in the documentation of
 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:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to