Announcement

Collapse
No announcement yet.

Any XSL experts out there?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Any XSL experts out there?

    I need some XSL help - still learning it!

    I realize it's not related to PB but PB is generating a ton of XML files for me, and the XSL is used by a publishing engine-

    I have parsing questions

    Code:
    This works fine for par sing out for the element "boardno"
    		<img width="300" ondrag="event.returnValue=false;">
    		<xsl:attribute name="SRC"><xsl:value-of select="$symbol_url"/><xsl:value-of select="@boardno"/>.jpg</xsl:attribute>
    		</img>
    
    
    But, I want to try to parse off of THIS to get the file extension instead of just assigning ".jpg" to it:
    
    <!ENTITY ICN-VLA-10-820000-A-16623-00275-A-01-1 SYSTEM "ICN-VLA-10-820000-A-16623-00275-A-01-1.jpg" NDATA jpg>
    <!ENTITY ICN-VLAGIF-10-825000-A-16623-00015-A-01-1 SYSTEM "ICN-VLAGIF-10-825000-A-16623-00015-A-01-1.gif" NDATA gif>
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
Working...
X