Pradeep Posted May 23, 2008 Share Posted May 23, 2008 Hi all,I am new to XSLT, i want to know what is difference in symbols like $,# and @. what is the meaning of below statement <xsl:copy-of select="$header" />Thanks in advance,Pradeep Link to comment Share on other sites More sharing options...
Ingolme Posted May 23, 2008 Share Posted May 23, 2008 $ refers to a variable written with <xsl:variable>@ is an Xpath operator to return an attributeI can't think of what # is at the moment, I'm not the really an expert with XSL. Link to comment Share on other sites More sharing options...
boen_robot Posted June 7, 2008 Share Posted June 7, 2008 If you mean likedomain.com/page.html#somethingthen the "#" is used to show the following text ("something") is a fragment identifier. In HTML pages, fragment identifiers point to the element that has the same ID. In XML based languages (and in user agents that support this), fragment identifiers point to the element with the same xml:id. In other files, it's up to the format to specify the meaning of the fragment identitier. XSLT files have no particular use of the fragment identifier alone. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.