|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using DTDs and Schemas together to define a document structure
Hello All - I would like to create an XML Schema as follows: <account> <child1> <someElement/> <anotherElement/> </child1> <postalAddress> <region></region> <postal></postal> <addressLine> ... </postalAddress> </account> I have DTD called postalAddress.dtd which defines postalAddress, region, postal and addressLine. This DTD was developed by an industry consortia, so I can't modify it directly. Within our application, I have a schema, person.xsd that defines the elements account, child1, someElement and anotherElement. All the other XML documents that our application generates are defined/constrained by schemas, so I'd like to continue that. Is there a way to modify person.xsd to work with postalAddress.dtd so that the structure of the postalAddress element is governed by the rules in postalAddress.dtd while the overall structure of the document is governed by person.xsd? Is my only choice to redefine a structure similar to postalAddress.dtd's in XMLSchema? Any advice or guidance would be appreciated. Rebekah *********************************** Rebekah S. Lepro Applied Research Lab Pennsylvania State University 165 Research West University Park, PA 16802 814-863-8122 rsl102@p... ***********************************
|
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
|
|||||||||

Cart








