# XML Stylesheet

**URL:** <https://forum.kirupa.com/t/xml-stylesheet/237535>\
**Category:** programming\
**Created:** [August 31, 2007, 6:42am UTC](https://forum.kirupa.com/t/xml-stylesheet/237535 "2007-08-31T06:42:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_W\_A\_T](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@S\_W\_A\_T](https://forum.kirupa.com/u/S_W_A_T)\
**Post date:** [August 31, 2007, 6:42am UTC](https://forum.kirupa.com/t/xml-stylesheet/237535/1 "2007-08-31T06:42:23Z")

</div>

Hi, i was doing an addon on “Kirupa Newsticker” located at this [[link]](http://www.kirupa.com/developer/mx2004/newsticker.htm).  
However, I’m new to XML and have little knowledge scripting XML.

What I’m trying to do is, I’m trying to make a “View All” news entries that will link to the news.xml file itself and will display all the entries.

So this is an example of my XML file:

```auto

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="news.xsl"?>
<images>
    <item>
        <news>News #1 - Posted on: 30 Aug 2007 @ 11:00PM</news>
        <url>news16.html</url>
    </item>
</images>

```

It appears that when i create a stylesheet, news.xsl, i can’t do this:

[COLOR=Blue]\<a href="[/COLOR][COLOR=Red]\<xsl:value-of select=‘url’ /\>[/COLOR][COLOR=Blue]"[/COLOR][COLOR=Blue]\>[/COLOR][COLOR=Red]\<xsl:value-of select=“news” /\>[/COLOR][COLOR=Blue]\</a\>

[COLOR=Black]Is the code possible to create on xsl? If so, please kindly teach me.  
Thanks in advanced.[/COLOR]

[/COLOR]
