Inclusions

"Andrew Leslie" <[email protected]>
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
A customer of mine requires I translate S1000D 1.8 SGML to S1000D 3.0.1 XML.

One of the issues with this is inclusions; they are allowed in SGML but not
in XML.

 

Eg., within 1.8 SGML we have :

 

<!ELEMENT descript - o (para*,(%spcpara;),para0*) +(figure | foldout | table
| caption) >

 

 

Where figure, foldout, table and caption are allowed anywhere within
descript and its subelements.

 

But within 3.0.1 XML we have 

 

<!ELEMENT descript (((para*, ((warning*, caution*), note*), para0*) |
((figure | multimedia | foldout | table) | caption))*)>

 

Where figure, foldout, table and caption are allowed anywhere but only as
direct descendants to descript.

 

 

Other than simply extending the 3.0.1 schema to allow for inclusions (which
I really do not want to do if at all possible), are there any other methods
which may be more appropriate ?

 

The customer is not keen on normalizing their data in any way.

 

Regards,

 

Andy

 

Andrew Leslie

Director

Structured Information Limited

Beer, East Devon, UK, EX12 3LU

 

t: +44 (0)1297 625572

m: +44 (0)7811 188615

e:  <mailto:[email protected]>
[email protected]

w:  <http://www.structuredinformation.co.uk> www.structuredinformation.co.uk

 

Registered in England and Wales No. 5687809. Registered Address: South
Riding, Underleys, Beer, East Devon, EX12 3LU

CONFIDENTIALITY NOTICE:  This e-mail and any attachments are strictly
confidential and may be protected by legal privilege.  If you are not the
intended recipient, be aware that any disclosure, copying, distribution or
use of this e-mail or any attachment is STRICTLY PROHIBITED.  If you have
received this e-mail in error, please notify us immediately by returning it
to the sender and deleting this copy from your system.  Thank you for your
co-operation.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.