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

@XmlRootElement should allow stylesheet declarations #254

Open
Tomas-Kraus opened this issue Aug 14, 2009 · 5 comments
Open

@XmlRootElement should allow stylesheet declarations #254

Tomas-Kraus opened this issue Aug 14, 2009 · 5 comments
Assignees
Labels
enhancement New feature or request Major Priority

Comments

@Tomas-Kraus
Copy link
Contributor

I'd love to specify a stylesheet for an @XmlRootElement without having to mess around with the
marshaller. For instance, it would be great to have something like:

@XmlStylesheet(type="text/css" href="stylesheet.css")

That would generate:

This is interesting in the JAX-RS world as it would give developers a way to support HTML requests of XML
data with little effort.

Environment

Operating System: All
Platform: All

Affected Versions

[2.1.12]

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
Reported by mattbishop

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
Was assigned to snajper

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
@pavelbucek said:
marking as enhancement

@Tomas-Kraus
Copy link
Contributor Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAXB-677

@Tomas-Kraus
Copy link
Contributor Author

@lukasj lukasj transferred this issue from eclipse-ee4j/jaxb-ri May 19, 2022
@lukasj lukasj added enhancement New feature or request and removed Component: spec labels May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Major Priority
Projects
None yet
Development

No branches or pull requests

3 participants