mandarīnpīle Posted April 7, 2013 Report 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
mandarīnpīle Posted April 9, 2013 Author Report 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
eT` Posted April 16, 2013 Report 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
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.