Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

XSLT and selecting nodes from XML file

  • 30-01-2006 1:49pm
    #1
    Closed Accounts Posts: 658 ✭✭✭


    Hi

    I'm having a bit of bother selecting the contents of a particular node from an XML file using my XSLT file to process it. Here is an explanation of what I need to do

    Imagine this is the XML file here

    ====================================
    [HTML]
    <feed version="0.3" xml:lang="en" xmlns="http://url.org/atom/ns#&quot; xmlns:aj="http://url.company.com/_atom/aj#"&gt;

    <!-- I want to be able to access entry -->

    <entry xmlns="http://purl.org/atom/ns#&quot; xmlns:aj="http://journals.aol.com/_atom/aj#"&gt;
    <!-- There are things in here I want to access -->
    </entry>
    </feed>
    [/HTML]

    Basically, when I run my XSL file on this XML, it looks at entry and then ignores it, even though I want it to delve in there and work on it. Here is some example XSL code

    <xsl:template match="/">
    <xsl:apply-templates/>
    </xsl:template>

    <xsl:template match="entry">
    <!-- do things in here -->
    </xsl:template>

    Does anyone here have any ideas as to what I can do ?


Advertisement