[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [OT] Can XML elements contain text as well as othe
Simon That would do the trick. Thanks Simon ----- Original Message ----- From: "S Woodside" <sbwoodside@xxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, May 21, 2003 8:59 PM Subject: Re: [OT] Can XML elements contain text as well as other elements? > What kind of schema? .... > > I think in RNG (relax ng) you could do something like this: > > <element name="para"> > <zeroOrMore> > <interleave> > <text/> > <ref name="highlight"/> > </interleave> > </zeroOrMore> > </element> > > simon > > On Wednesday, May 21, 2003, at 09:04 AM, Simon Kelly wrote: > > > 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.Zink@xxxxxxxxxxxxxxxxxxxx> > > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > > Sent: Wednesday, May 21, 2003 2:55 PM > > Subject: AW: [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 > > > > > > -- > anti-spam: do not post this address publicly > www.simonwoodside.com -- 99% Devil, 1% Angel > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|