[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] dynamic document() template problem
Subject: [xsl] dynamic document() template problem From: Arian Hojat <arianhojat2000@xxxxxxxxx> Date: Mon, 20 Jun 2005 12:29:54 -0700 (PDT) |
Hello i am trying to base a template rule off an attribute in my XML to which chooses nodes to apply ###my XML### <include href="fbackground.xml" nodes="fb/section1/*"/> ###my rule for <include>### <xsl:apply-templates select="document(@href)/Document/{@nodes}"/> but i get an error with Saxon... [ERROR] javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A location step was expected following the '/' or '//' token. without the {}, i know it will just check to see if it has an attrbiute, but i would like it to get intrepeted to 'document(fbackground)/Document/fb/section1/*' ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] count hits/matches - INCR, Dariusz Borowski | Thread | Re: [xsl] dynamic document() templa, JBryant |
Re: [xsl] count hits/matches - INCR, Dariusz Borowski | Date | Re: [xsl] dynamic document() templa, JBryant |
Month |
Keywords