XSL related question



Hi I wasn't sure as to where I need to post XSL related questions..Is there anyone in this group who has expertise with XSL? If anyone can help me out with an XSL related question, that would be great.

Ani


Related to : XSL related question
xsl:include/xsl:import with php422/xslt extension
ASP & ASP.net
I'm using php422 with the new xslt extension, and i have a problem using xs:include/import.
With either import or include i get the error:
Sablotron error on line 3: 'arg:/stanga.xsl', while the stanga.xsl file exist in the same dir with the including template. I tried even absolute paths, the same thing/.
Any ideas?
Thx anyway.
simple XSL/XML question
ASP & ASP.net
feyd | Please use Syntax: [ Download ] [ Hide ]Syntax: [ Download ] [ Show ],[syntax=php]and Syntax: [ Download ] [ Hide ]SXBB[id].writeCmd();Syntax: [ Download ] [ Show ] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: Posting Code in the Forums to learn how to do it too.      Hey everyone, would love some assistance. I would like to put a <br> or <i> where I specified. Just not sure how to mix HTML in this.    [syntax="xml"]     <xsl:for-each select="job/manager">        <xsl:value-o
XSL & PHP; Problem with xsl:choose
ASP & ASP.net
Hello,
I have some xml, and have made some xsl to display the data in some lovely tables. This works beautifully on my development set-up (Windows, Apache 2.2.13, PHP 5.2.11), but fails on my hosted server (Linux, Apache 2.2.13, PHP 5.2.12).
Having done some investigation it is the xsl:choose statements in the xsl that cause the failure (yielding internal server error) on the hosted server.
Just wondering if anyone may know what is going on here?
Thanks very much.
Nesting of xsl:key() within xsl:key() & combining results of xsl:key() !! $ !!
ASP & ASP.net

Hi all,

I have 2 unrelated questions. I need to do a grouping of data using XSLT. I need this to function like how a nested IF within an IF would function. After which, I need to group the data so that I can split it into multiple files according to the Group condition.

Using XSLT Version 1.0 :

Q1) How do you nest a key() within another key() (i.e. Use the result nodes returned from the first key() as current node-list to search for 2nd key() condition to group my data)?

Q2) Can I combine the results of 2 key() functions? Say, I want to execute code for all nodes with Key values of "A" and "B".

Does anyone know how to solve Q1 and Q2?

Apprec

XSL related question
ASP & ASP.net

Hi I wasn't sure as to where I need to post XSL related questions..Is there anyone in this group who has expertise with XSL? If anyone can help me out with an XSL related question, that would be great.

Ani


Add xsl:param only on first iteration of the xsl:for-each loop
ASP & ASP.net

Can I add xls:param only on first iteration of the loop. I'm using xsl version 1.0. If we have:

  <TestObject>
    <xsl:for-each select="TestObject">
      <item>
        <ParamValue>
          <xsl:value-of select='$Test'/>
        </ParamValue>            
        <TEXT>
          <xsl:value-of select="Text" />
        </TEXT>
    </xsl:for-each>
  </TestObject>

If we have 3 Text in TestObject. This is the wanted result:

  <TestObject>       
      <item>
        <ParamValue>
          Value of the parameter
        </ParamValue>            
        <TEXT>
          Text1
        </TEXT>
      </item>
      <item>
        <ParamValue></ParamValue>            
        <TEXT>
          Text2
        </TEXT>
      </item>
      <item>
        <ParamValue></ParamValue>            
        <TEXT>
          Text3
        </TEXT>
      </item>
  </TestObject>


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .