Skip to content

Commit

Permalink
Added id column
Browse files Browse the repository at this point in the history
  • Loading branch information
Devas committed Jul 9, 2018
1 parent ac5cab0 commit a805db0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/xml/cdcatalog.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--<?xml-stylesheet type="text/xsl" href="cdtable.xsl"?>-->
<?xml-stylesheet type="text/xsl" href="cdtable.xsl"?>
<!--<?xml-stylesheet type="text/xsl" href="cdweb.xsl"?>-->
<!--<?xml-stylesheet type="text/xsl" href="comatext.xsl"?>-->
<?xml-stylesheet type="text/xsl" href="keyfunction.xsl"?>
<!--<?xml-stylesheet type="text/xsl" href="keyfunction.xsl"?>-->
<catalog>
<cd>
<title>Empire Burlesque</title>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/xml/cdtable.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<h2>My CD Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th style="text-align:left">ID</th>
<th style="text-align:left">Title</th>
<th style="text-align:left">Artist</th>
</tr>
Expand All @@ -24,6 +25,10 @@
<!--</td>-->
<!--</tr>-->
<tr>
<td>
<xsl:number value="position()"/>
<!--<xsl:value-of select="position()"/>-->
</td>
<td>
<xsl:value-of select="title"/>
</td>
Expand Down

0 comments on commit a805db0

Please sign in to comment.