| <?xml version="1.0"?> |
| <!-- |
| |
| Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Distribution License v. 1.0, which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
| |
| --> |
| |
| <sample since="1.0"> |
| <title>Marshalling output customization</title> |
| <description><![CDATA[ |
| A common customization need for the marshalling output is |
| about introducing extra processing instruction and/or DOCTYPE declaration. |
| This example demonstrates how such modification can be done easily. |
| ]]></description> |
| |
| <project> |
| <xjc schema="Primer.xsd" package="primer"/> |
| |
| <javadoc/> |
| |
| <java mainClass="Main"> |
| <arg value="test.xml"/> |
| </java> |
| </project> |
| |
| </sample> |