[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Trouble keeping html tags (more a javadoc question)

Subject: Trouble keeping html tags (more a javadoc question)
From: "Holbrook, R Cody (Cody)" <rch7@xxxxxxxxx>
Date: Wed, 28 May 2003 13:39:27 -0600
javadoc html tags
Hello fellow XSLers,

I'll try to articulate this problem as best as I can.  Fair warning :o)

I used a stylesheet to add documentation to 100s of XSD files.  An example of what one looks like:

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="UnregisterDevice">
	<xsd:annotation>
		<xsd:documentation>
			Used to unregister a Terminal.  Messages:
			<ul>
			<li>Sucess</li>
			<li>Fail</li>
			</ul>
		</xsd:documentation>
	</xsd:annotation>
</xsd:element>
</xsd:schema>

This is all well and good, but when I run a simple javadoc ant target, which builds itself from comments made in the code, the html that is generated comes out like this:

UnregisterDevice

	Used to unregister a Terminal.  Messages:SuccessFail

The java comments are perfect.  The html works upto making the java comments look correct, except I'm more concerned with making the html generated work correctly.  But with the tags leaving the code from XSD to generated java, I'm not sure what to do.

Is there a way to force the XSDs to pass the HTML tags as just text so that they get into the generated java?

Sorry if this is a loaded question.  I've been toying with the notion to use CDATA, but I'm not quite sure if that's a longterm fix.

Thanks for reading!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.