acessing an XML file from XSLT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • findmeingarden
    New Member
    • Aug 2008
    • 1

    #1

    acessing an XML file from XSLT

    I am new to programming and I need some quick solution to my problem.

    I have added an xml file (keys.xml) to my project as an embedded resource. How can I acess this file from an xsl file (also added as embedded resource). This is what I am trying to do.
    Code:
    <xsl:variable name="keys" select="try and acess the xml file"></xsl:variable>
    Please help at the earliest. Thanks in advance
    Dahlia.
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Document function
    Sorry! We can't seem to find the resource you're looking for


    <xsl:variable name="keys" select="documen t('keys.xml')"/>

    Comment

    Working...