Jump to content

phoebusdf

Members
  • Posts

    2
  • Joined

  • Last visited

phoebusdf's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. The xml: <List> <Item> XXXXXXX </Item> <Item> XXXXXX </Item></List> And then in the XSL: <xsl:template match = "df:List"> <xsl:for-each select = "df:Item"> <xsl:number format = "1"/> </xsl:for-each></xsl:template> Thanks
  2. Hi,I'm trying set up a numbered list of sections, with indented numbering, using xsl:number; for example:1.0 XXX 1.1 XXX 1.2 XXX2.0 XXX 2.1 XXX 2.2 XXX 2.2.1 XXXThe text that has the corresponding number has a tags <List> </List> around it which is matched to a template in the stylesheet, where <xsl:number format="1"/> is applyed.Does anyone have any advice on how to do the indented number, if it is possible!Thanks
×
×
  • Create New...