Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support XHTML5 serialization on p:store #150

Closed
josteinaj opened this issue Apr 25, 2014 · 4 comments
Closed

Support XHTML5 serialization on p:store #150

josteinaj opened this issue Apr 25, 2014 · 4 comments
Labels

Comments

@josteinaj
Copy link
Contributor

@josteinaj josteinaj commented Apr 25, 2014

Section 6.1.2 of the XSLT and XQuery Serialization 3.0 spec describes a new attribute on xsl:output called html-version which, if method="xhtml", lets you specify that the output should be serialized according to XHTML5 by setting html-version="5.0".

Could this be exposed on p:store as cx:html-version?

@ndw
Copy link
Owner

@ndw ndw commented May 6, 2014

Until such time as the underlying Saxon processor supports html-version, it won't have any effect.

I'll leave this issue open until then and then I'll add something to support it.

@ndw
Copy link
Owner

@ndw ndw commented May 8, 2014

I implemented a workaround. When Saxon supports the underlying options, that'll work too.

@ndw ndw closed this May 8, 2014
@josteinaj
Copy link
Contributor Author

@josteinaj josteinaj commented May 8, 2014

Cool! So how do I use it?

@ndw
Copy link
Owner

@ndw ndw commented May 8, 2014

I suppose it would have been nice if I'd included that!

See http://xmlcalabash.com/docs/reference/langext.html#ext.html-serializer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.