mandarīnpīle Posted April 7, 2013 Report Share Posted April 7, 2013 XSL failā, kas producē Microsoft Worda bibliogrāfiju, stāv rakstīts šādi: <xsl:template name="BibDisplayURL"> <xsl:variable name="cURL"> <xsl:value-of select="count(b:URL)"/> </xsl:variable> <xsl:if test ="$cURL!=0"> <xsl:text>Pieejams:</xsl:text> <xsl:value-of select="b:URL"/> <xsl:call-template name ="templ_prop_Dot"/> </xsl:if> </xsl:template> Un izvade no tā ir apmēram šāda: [1] «Saites nosaukums,» [Tiešsaiste]. Pieejams: http://www.ruby-lang.org/en/about/#fn2. [Piekļūts 26 01 2013]. Jautājums, kas un kā tur jāizmaina, lai aiz vārda "Pieejams: " tiktu ielikts line breaks, un saite būtu jaunā rindā? Quote Link to comment Share on other sites More sharing options...
draugz Posted April 8, 2013 Report Share Posted April 8, 2013 <xsl:text>Pieejams:</xsl:text><br /> Quote Link to comment Share on other sites More sharing options...
mandarīnpīle Posted April 9, 2013 Author Report Share Posted April 9, 2013 (edited) <xsl:text>Pieejams:</xsl:text><br /> Un kā ielikt line breaku, kā arī iegūt treknrakstu, ja izvade notiek šādi: <format>{<strong>bold</strong>%Author:1%. }{ %InternetSiteTitle|Title%.}{ [tiešsaiste]. [skatīts %DayAccessed:1%.%MonthAccessed:1%.%YearAccessed:1%.] Pieejams: %URL:l%}</format> <strong> tagi nedarbojas. Pieņemsim, ka gribu [tiešsaiste] treknrakstā Edited April 9, 2013 by mandarīnpīle Quote Link to comment Share on other sites More sharing options...
eT` Posted April 16, 2013 Report Share Posted April 16, 2013 <stylesheetresult-ns="css"xmlns:css="http://www.w3.org/TR/XSL-for-CSS">//te tu raksti CSS, kur attiecīgajam elementam vai el-tu grupai uzliec font-weight:bold;..</stylesheet> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.