Concerns about format token parameter on serialize() and parse() functions

All,

I'm a bit concerned about the format parameter on serialize() [1] and parse()[2] functions, because I think that the format token only allows boolean properties. And on the submission element and xslt output options you have properties that take other type of values. For example version, cdata-section-elements and includenamespaceprefixes.

We could decide that the serialize() and parse() functions are only for the simple things and that we will depend on the serialise()[3], parse-xml()[4], parse-xml-fragment()[5] functions in 'XPath and XQuery Functions and Operators 3.0' for the more advanced stuff.

What is your opinion about this?

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com
www.inventivedesigners.com


1: http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_serialize.28.29_Function
2: http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_parse.28.29_Function
3: http://www.w3.org/TR/xpath-functions-30/#func-serialize
4: http://www.w3.org/TR/xpath-functions-30/#func-parse-xml
5: http://www.w3.org/TR/xpath-functions-30/#func-parse-xml-fragment

________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

Received on Wednesday, 21 November 2012 08:55:43 UTC