[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Embedding html in XML


html in xml
> From: Empowering You [mailto:pam@e...]
> Sent: Wednesday, November 13, 2002 11:55 PM
> To: 'Julian Reschke'; xml-dev@l...
> Subject: RE:  Embedding html in XML
>
>
> > ...  Forget about using standard
> > HTML for text formatting, that's not the right way to do it in .NET,
> > in my opinion...
>
> >Interesting.
>
> >Why?
>
> OK, you caught me.  How about, I don't know where I read it, but I got
> the impression that CSS is typically better.

I'm surprised because to adequately style "raw" XML with CSS, you'll need
really good CSS support in the browser. And this is something where Internet
Explorer is really weak compared to Mozilla.

> Correct me if I'm wrong..., but if you use HTML don't you have to use it
> on individual items?  Where as, if you use CSS you can take a whole
> group, say the <paragraph> element, and make everything within that
> element, for example, "bold", rather than go through each paragraph and
> put <b> </b> tags around it.

OK, you'd *still* use CSS to *style* the HTML display. But did you ever try
to format XML as a table just using CSS with Internet Explorer?

> Or maybe, it's just because I don't think .NET allows you to do it the
> way he wanted to do it with HTML using XML.  I've don't remember seeing
> anything like <b><paragraph></paragraph></b> in the .NET code I've read.
> But maybe I missed it.

You seem to talk about combining "raw" XML with HTML elements. I fail to see
how .NET would make that easier or harder -- in the end, it's just a runtime
environment and some standard classes for XML manipulation. Am I missing
something?

Julian


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.