The RICHTEXT@SIZE attribute is only included in Modifier XML deconstruct when the font size differs from that specified in the style sheet: so if the style is already defined as having text which is smaller than 5pt, you won't see that in the XML output. You could parse the job jacket which is associated with the project, and which contains the style sheet definitions (generated by adding the parameter "jjname=filename.xml" to the XML request (where filename.xml is the name for the output file), then retrieved from QXPS with a "literal" request for that filename), and identify any paragraph or character styles which have a text size smaller than 5 pt.
However, if it's feasible for you to move to QXPS 9 (which will be available soon), there's a new feature which can do exactly what you're looking for! This feature is a new request named "evaluate" - this request exposes the same layout evaluation functionality which is available in QuarkXPress (on the File->Job Jackets->Evaluate Layout menu item) for QuarkXPress Server. To use this, you'd need to do the following:
1. In QuarkXPress, create a new Job Jacket using Job Jackets manager (Utilities->Job Jackets Manager...) by clicking on the "New" button in the toolbar of that dialog (first button on the left).
2. In this new job jacket, create a rule asset by clicking on Advanced button,navigating to the "Rules" section in the list of asset types, and clicking the "New Item" button:
[img]file:///Users/andrew/Library/Caches/TemporaryItems/moz-screenshot.png[/img] In the following dialogs, you need to define that your new rule will check for text which is smaller than 5pt:
3. Create a new ruleset in this job jacket and add your rule to it:
4. Save the job jacket (it's an XML file), locate the XML file on disk, and upload it (or copy it) to the QuarkXPress Server document pool
5. Make an evaluate request to the layout:
http://server:port/evaluate/qxp_project.qxp?jobjacket=myjobjacket.xml&ruleset=myRules (where the job jacket you saved was named "myjobjacket.xml" and the ruleset was named "myRules".
The output from this will look something like the following:
Name: Missing Font Subject: Fonts; Conditions: Font; Font: Font is
This rule searches layout for missing font.
Please replace or locate this font.
Name: Missing Picture Subject: Pictures; Conditions: Asset; Asset:
Asset is Missing;
This rule serches layout for missing pictures. The picture is missing, please locate or replace the picture. NOTED PASSED 0 Name: CheckFontSize Subject: Text Characters; Conditions: Font Size; Font Size: Font Size is less than 5 pt; Font is too small No fonts should be smaller than 5 pt NOT RECOMMENDED FAILED 1 5 1 ...so you can query the result of this request as an XML document, and look for the condition "//RULESET[@NAME='myRules'][@STATUS='FAILED']" - this will identify any documents which have text smaller than 5pt. It'll also tell you which boxes an pages that this failure occurs on within the CASE node: in this example, it was only one instance on page 1, which was the box with the UID of 5. I hope that this helps,Regards,Andy--Andy DyerProduct Manager, Enterprise, Quark Inc.