getting a label from a schema
I am very much an uneducated newbie that I find it difficult even to phrase my question,
but I cannot find the answer anywhere, so I am asking.
Each item has a label associated with it by according to its name in an .msd schema
as in the following:
<element name='Income1' type='Fieldx'> <annotation> <appinfo> <xbrl:rollup to='income' weight='0' order='0'/> <xbrl:label xml:lang='en'>Employment income</xbrl:label> <xbrl:label xml:lang='fr'>Revenes d'emploi</xbrl:label> </appinfo> </annotation> </element>
That is, the labels are in the schema and the data is in the XML doc.
Two different questions:
1. How do I get my XSLT stylesheet to make sure that all labels from the schema are presented with the item values in an HTML doc, which presents the XML data (even those whose value is zero)?
2. How do I get my XSLT stylesheet to present the label and item values only when the values are not equal to zero?
And relevant to both: 3. How do I indicate the language desired in my XML document?
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format