Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > xml and purpose of ccs xsl

Thread Tools

xml and purpose of ccs xsl

Bill Cunningham
Posts: n/a
I'm new to xml but I think It'll be the thing of the future. Hold data and
transfer it. Then give it form somehow. That's where I get stuck.

<?xml version="1.0" ?> //left out encoding

Short to demonstrate my point. I'm missing <!DOCTYPE etc.... I don't know if
it's required. How do you use ccs or xsl to make this data display like


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Reply With Quote
Posts: n/a

Bill Cunningham wrote:Short to demonstrate my point
> I'm missing <!DOCTYPE etc.... I don't know if
> it's required. How do you use ccs or xsl to make this data displa
> like
> html?
> Bill

You do not need a DOCTYPE declaration on the XML file because the <?xm
version="1.0"?> does the same thing. You can reference the XSL as i
this example:

<?xml-stylesheet type="text/xsl" href="style.xsl"?>

The XSL will have a similar declaration after the initial XML one suc

<xsl:stylesheet xmlnssl="">

You may build the XSL as a HTML page. Within the HTML code you ca
reference the CSS just as would with an HTML page. For dynamic field
you use this code:

<xsl:value-of select="root/page_title"/>

where root is your root in the XML file and page_title is whatever ta
in the XML file you want to appear in that place. So generally, desig
the CSS as you would for an HTML page and design the XSL to be you
page layout. you can use this as your guide to building your XSL:

hope this helps

Posted via
View this thread:

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
floating images in CCS and extending the height of the columns to match HTML 2 07-25-2007 05:09 AM
CCS's issue. AM Cisco 0 04-10-2006 12:53 PM
CCS question Cisco 2 02-09-2006 10:03 AM
XSL Question tp xsl:for-each and xsl:variable XML 1 05-27-2005 09:25 PM
Web.xml default mapping is breaking external CCS link. Ron Brennan HTML 0 01-14-2004 02:32 PM