|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] replacing ref elements to inline elements
Title: replacing ref elements to inline elements I have a question regarding programmatically replacing ref tags with the appropriate block of XML. Is there a standard/recommended way to do this? The refs make design easier, but are a headache in certain development processes. For example, replace refs: <xs:sequence> <xs:element ref="requestor"/> <xs:group ref="typeFacilitySpecifier"/> </xs:sequence> with: <xs:element name="requestor"> <xs:simpleType> <xs:restriction base="xs:token"> <xs:enumeration value="U"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:group name="typeFacilitySpecifier"> <xs:sequence> <xs:element ref="financeNumber"/> <xs:element ref="reportingUnitNumber"/> </xs:sequence> </xs:group> Thanks,
|
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








