26.01.2019 Views

XML Simplified

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Module 6<br />

XSL and XSLT<br />

Figure 6.28 depicts the style sheet for item_stylesheet.xsl file.<br />

Concepts<br />

Figure 6.28: item_stylesheet.xsl File<br />

where,<br />

position()<br />

The current node's position in the source document.<br />

format="1."<br />

User-provided number starts with 1.<br />

format="I."<br />

User-provided roman number starts with I.<br />

The output is shown in figure 6.29.<br />

Figure 6.29: Output of Using xsl:number<br />

Version 1.0 © Aptech Limited<br />

<strong>XML</strong> <strong>Simplified</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!