xsl-list
[Top] [All Lists]

Re: [OT] Can XML elements contain text as well as other elements?

2003-05-21 06:04:08
So this means I could have something like.

<!--
<para>Test for the <highlight type="flashing>element</highlight> within
text.</para>
-->

But how would you define that in a Schema?  I'm a bit confused about that
part.

Thanks fo rthe reply,

Cheers

Simon




----- Original Message -----
From: "Zink, Juergen" <Juergen(_dot_)Zink(_at_)wuerttembergische(_dot_)de>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, May 21, 2003 2:55 PM
Subject: AW: [xsl] [OT] Can XML elements contain text as well as other
elements?


Hi Simon,

<snip>
Can you mix text in with the child elements within an element node?  Or
do
the text elements have to be in a leaf element node?

Yes you can mix, even more than one text node is possible.

Juergen



****************************************************************************
*
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
eMail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.

****************************************************************************
*


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list