-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question on strike and insert bill texts #1
Comments
@iita-atii - moved issue to this repository, since it's related to the Bill XML specifically and not really an API question. You may want to look at https://xml.house.gov, specifically here https://xml.house.gov/#dtd for some additional information on the bill dtd elements and their values. For example, https://xml.house.gov/amendment-block.html provides some additional information about the changed element within amendment-block |
Nice, sorry didn't realize this was an available repo. I'll take a look around in those docs, much nicer than looking at the raw dtd! |
hey @jonquandt, is there any place outside of the .xls files the effects of different Also, the documentation is missing for |
@iita-atii - after consulting with some colleagues, the web styles documented in the XSLT files are probably your best bet. You can see what those look like here: billres-details.xsl will probably have the most information. For example, on line 3960, there is a directive that applies if reported-display-style and changed are both set: <xsl:when
test="(@deleted-display-style = 'strikethrough' or @reported-display-style = 'strikethrough') and @changed = 'deleted'">
<div class="lbexTextStrikethrough">
<xsl:apply-templates/>
</div> which calls the following template on line 1390: .lbexTextStrikethrough
{
text-decoration:line-through;
} I do not see
I hope this is helpful. |
How to know which portion of a bill text XML structure is stricken and which portion is the rewrite?
changed
does not seem to always accurately reflect this.amendment-*
blocks tend to wrap both portions.reported-display-style
seems the most promising but the rewrite text style is often set at the highest level and not applied to the stricken section by some mechanism i cannot find.I know it's there as the resulting bills always have the correct text styling applied to each portion but can't find a consistent approach when traversing the XML.
The text was updated successfully, but these errors were encountered: