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

Adding tags and text to multiple xsd files

Subject: Adding tags and text to multiple xsd files
From: "Holbrook, R Cody (Cody)" <rch7@xxxxxxxxx>
Date: Mon, 31 Mar 2003 15:56:16 -0700
add text to multiple files
I have a pool of xsd files, each contains something like this:

<xsd:element name="xyz">
	<xsd:something>
		<xsd:element name="abc">
		<xsd:element ref="def">
		....

Now I have a xml file that looks like this:

<class name="xyz">
	<documentation>Description of xyz</documentation>

	<field name="abc">
	<documentation>Description of abc</documentation>
	....


My intent is this

-take the xml, transform it into an xsl
-this xsl will now transform the xsd files to include the documentation from the xml to look like this:

<xsd:element name="xyz">
	<documentation>Description of xyz</documentation>
	<xsd:something>
		<xsd:element name="abc">
		<documentation>Description of abc</documentation>
		<xsd:element ref="def">
		....

-be able to generate this for any name, with unique descriptions (that exist in the XML with the documentation tags) for each element

It seems to me that this shouldn't be as hard as I'm making it.  I could make a really big xsl that looks for every element name as I specifically site them, but I know I'm going about this the wrong way.  Thanks for reading and of course for any help.

Cody Holbrook
Avaya Inc.
		



 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.