OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] SML: Second Try

[ Lists Home | Date Index | Thread Index ]

On Wed, 5 Feb 2003 03:17:55 -0800, Don Park <donpark@docuverse.com> wrote:

  [on mixed content]
>
> I am thinking the following will suffice:
>
> A attr1="blah"
> "some text"
> B="lala"
> "some more text"
> C
> "inner text"
>
> In this example, readability suffers somewhat.  Oh, well.  I never liked
> mixed-contents.

How about using something like '' as a magic tag for text in mixed content. 
 That is,  for the XML

  <a attr1="blah">some text <b>lala</b> some more text <c>inner 
text</c></a>
	
The SML might be

  a attr1="blah"
  	'' 		some text
	b
		lala
	'' 		some  more text
	c
		inner text

	





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS