[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Envelopes...
> Got a bit of a tough one (for me anyway...). > > Got an XSD Envelope that we wish to use for all messages. It's generic. > At the body node though, we wish to specialise that node & add the specific schemas for that particular service. > <snip/> What you're not telling us is where you need the specific schema? For development? For sending the completed package across the wire? For internal editing (why not just the interior schema in that case)? Given your description it sound like perhaps you might be able to maintain the envelope schema completely separately from the rest of the content schema and then combine them only at run time? If so, XSLT would be your friend; use a transform to read the two documents and add the specific content schema's to the envelope schema starting at the "body" (or whatever) tag as needed... -- Peter Hunsberger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|