- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P2: Important
 - 
    None
 - 
    5.11.0 Beta 1
 - 
    None
 - 
    All
 
For an XML file like
<?xml version="1.0" ?>
<description>description
    <para>Paragraph number 1</para>
    <para>Paragraph number 2</para>
    <para>Paragraph number 3</para>
</description>
the style sheet
<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="/description/para[3]"> <para>Modify paragraph #3</para> </xsl:template> <xsl:template match="/"> <xsl:apply-templates /> </xsl:template> </xsl:stylesheet>
running:
xmlpatterns test.xsl test.xml
--> 
description
    Paragraph number 1
    Paragraph number 2
    Paragraph number 3
whereas
xalan -xsl test.xsl -in test.xml --> <?xml version="1.0" encoding="UTF-8"?>description Paragraph number 1 Paragraph number 2 <para>Modify paragraph #3</para>
Note though when using XPATH query mode with the query
description/para[3]
running
xmlpatterns test.xq test.xml --> <para>Paragraph number 3</para>
the paragraph is matched correctly.
- relates to
 - 
                    
        
        PYSIDE-363
        Fix documentation generation
    
-         
 - Closed
 
 -