Questions about the metadata (get-meta.xsl
) stylesheet in the HTML5 transformation
#4350
Unanswered
chrispy-snps
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a few questions about the get-meta.xsl stylesheet in the HTML5 transformation:
In most calls to evaluate metadata, the match is against the current element and a
self::dita/*[1]
element:What is the
self::dita/*[1]
variant for, and where does it get introduced in the processing?What type of data is the
mode="gen-type-metadata"
mode intended for? It's an evaluation of the current element, stubbed out to return nothing:What type of data is the
mode="gen-format-metadata"
mode intended for? It is similar to thegen-type-metadata
mode:Is there a bug in
<abstract>
processing?<shortdesc>
is processed withmode="gen-metadata"
, which generates no output because the default action is to ignore it.<abstract>
is processed withmode="gen-shortdesc-metadata"
. That moded template looks for<shortdesc>
elements inside the<abstract>
element, which is impossible per the DITA schema. I think there might be something wrong here. If someone can confirm, I'll file an issue for it.Beta Was this translation helpful? Give feedback.
All reactions