Creating a custom style for bibliography in MS Office.

Andrii Poliakov 0 Reputation points
2025-06-01T06:30:51.48+00:00

Existing bibliography styles include templates such as:

	<xsl:template name="templ_prop_Hyphens">
		<xsl:param name="LCID" />
		<xsl:variable name="_LCID">
			<xsl:call-template name="localLCID">
				<xsl:with-param name="LCID" select="$LCID"/>
			</xsl:call-template>
		</xsl:variable>
		<xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
	</xsl:template>

I am interested in clarification of the value in the attribute select ``` <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>````. Where can I find a description of the elements of b:<name> or a table of all values. I need to put the “En Dash” symbol.

Так же существуют и такие значения:

  • "/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"
  • "/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"
  • "/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"
  • "/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>"

Where can I read about it?

Microsoft 365 and Office | Open Specifications
{count} votes

2 answers

Sort by: Most helpful
  1. Tom Jebo 2,346 Reputation points Microsoft Employee Moderator
    2025-06-10T15:50:27.74+00:00

    Hi Andrii Poliakov,

    After reviewing the elements and our use of them, I can provide general descriptions that should allow you to use them. We don't have public schemas as found in ISO 29500 A.6.6 for these specific elements because they are not used directly in the WordprocessingML found in Word file format (.docx) packages. Here are the definitions for the element you list:

    b:Hyphens - the set of characters that represent hyphens for the locale id specified in the b:Local element's LCID attribute.

    b:Date/b:DMY - is the string representing the day, month and year, each value separated by spaces like this: "13 August 2025"

    b:MainAuthor/b:FL - is the string representing the first and last name of the main author (in that order) separated by a space like this: "Tom Jebo"

    b:MainAuthor/b:LF - is the string representing the last and first name of the main author (in that order) separated by ", " like this: "Jebo, Tom"

    b:SecondaryAuthors/b:FM - is the string representing the first and middle name of the secondary author separated by a space like this: "Tom Cameron"

    b:GeneralClose - is the character representing the close parenthesis or ")"

    Best regards,
    Tom Jebo
    Microsoft Open Specifications Support

    0 comments No comments

  2. Andrii Poliakov 0 Reputation points
    2025-06-12T14:13:36.28+00:00

    Hi @Tom Jebo

    Thank you for the information and the work you have done

    You can get a list of names that are registered in the following sections

    /*/b:Locals/b:Local[@LCID=$_LCID]/b:APA
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:General
    /*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties
    /*/b:Locals/b:Local[@LCID=$_LCID]/@Culture
    
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.