Search found 3 matches

by jcb
Mon Jul 29, 2019 5:49 pm
Forum: General XML Questions
Topic: Schematron: Test that a string matches an ID from a list of available IDs
Replies: 2
Views: 348

Re: Schematron: Test that a string matches an ID from a list of available IDs

Regardless of the <let>, the answer ended up being the use of quantified expressions: <pattern id="answerIDnotLocal"> <rule context="question"> <let name="answer" value="div[@class='response-processing']/div[@class = 'condition']/div[@class = 'correct']"/> <let name="choice" value="div[@class = 'ans...
by jcb
Fri Jul 26, 2019 1:03 am
Forum: General XML Questions
Topic: Schematron: Test that a string matches an ID from a list of available IDs
Replies: 2
Views: 348

Schematron: Test that a string matches an ID from a list of available IDs

I have an XML file that contains a list of possible question answers as well as the correct answer. I want to use schematron to verify that the correct answer value (a string) exists in the list of possible answer IDs. I'm comparing the string value to the list IDs, but am coming up short. XML: <que...
by jcb
Sat Mar 02, 2019 4:09 am
Forum: Common Problems
Topic: Page Linking via CSS
Replies: 1
Views: 511

Page Linking via CSS

I'm using the paged-media CSS option of the below: a:after { content: target-counter(attr(href), page); } in order to add page links to my Index. It works like a charm. However, this also adds a page number after any element that contains an @href. For instance, I have figure/table links throughout ...