[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Re: Mixed Content
  • From: "Jason Diamond" <jason@i...>
  • Date: Fri, 29 Aug 2003 10:44:50 -0700 (PDT)
  • Importance: Normal
  • User-agent: SquirrelMail/1.4.1

Hello.

> In a DTD i've done this:
>
> <element paragraph (PCDATA,bold under)+>

<!ELEMENT paragraph (#PCDATA | bold | under)*>

> and you can fin XML elemts like:
>
> <paragraph>
>   This is text
>   <bold>this is bold text</bold>
>   this is text again
>   <under>this is underlined text</under>
> </paragraph>
>
> How can i create the templates i need for showing this structure?

What do you mean by "show"? Are you trying to transform it into HTML so
that the result can be rendered in a browser?

Jason


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member