The Internet Encyclopedia (Volume 3)

(coco) #1

P1: IML/FFX P2: IML/FFX QC: IML/FFX T1: IML


WL040A-09 WL040/Bidgoli-Vol III-Ch-69 August 14, 2003 18:12 Char Count= 0


APPENDIXA: CREATING ANXBRL DOCUMENT 879

Figure A2: Screen shot of the Internet-based XBRL validation service provided by XBRL
Solutions Inc.

XBRL elements for the accounts receivable item, and the
XBRL elements for the accounts payable item are shown
in lines 31 through 35. Finally, lines 36 though 40 contain
the XBRL elements for the common stock item.
Once the XBRL document is created, it is important to
check whether the created document is a valid XBRL doc-
ument. The validation can be performed by using valida-
tion software or an Internet-based service. A screen shot
of the Internet-based XBRL validation service provided
by XBRL Solutions Inc. (http://www.xbrlsolutions.com/)
is shown in Figure A2.
An XBRL document provides contextual information,
but it does not define how the information should be dis-
played. To display an XBRL document in a Web browser,

users need to write a style sheet (prepared with a style
sheet language) for the XBRL document to specify how
the document should be displayed. A style sheet can be
shared between different documents and different users,
as well as integrated with other style sheets. With the
appropriate style sheets, users can transform the XBRL
document into an HTML document, text document, word
processing document, spreadsheet, database file, or an-
other XBRL document. The two most popular style sheet
languages are CSS and XSLT. XSLT is currently the only
style sheet language designed specifically for use with
XML. Thus, for our XBRL example, we will create an
XSLT style sheet to transform XBRL into HTML. The cor-
responding XSLT style sheet example is shown below.

01: <?xml version="1.0"?>
02: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
03:
04: <xsl:output method="html"/>
05: <xsl:template match="/">
06: <HTML>
07: <TITLE>XBRL Example</TITLE>
08: <BODY>
09: <P ALIGN="CENTER"><B><FONT SIZE="6">Balance Sheet</FONT></B></P>
10: <P ALIGN="CENTER"><I><B><FONT SIZE="3">Waterloo Inc.</FONT></B></I></P>
11: <TABLE BORDER="0" CELLPADDING="5" CELLSPACING="0" WIDTH="100%">
12: <TR>
13: <TD WIDTH="50%" STYLE="border-bottom-style: solid; border-bottom-width: 3"
BORDERCOLOR="#000000">
14: <P ALIGN="LEFT"><FONT SIZE="3">(Dollars in thousands)</FONT></P>
15: </TD>
16: <TD WIDTH="25%" STYLE="border-bottom-style: solid; border-bottom-width: 3"
BORDERCOLOR="#000000">
17: <P ALIGN="RIGHT"><FONT SIZE="3">2000</FONT></P>
18: </TD>
Free download pdf