Ignore:
Timestamp:
Mar 15, 2013 10:42:50 PM (7 years ago)
Author:
prjemian
Message:

simplify to just one XSLT, rename, and revise XML files accordingly, update the docs (and call the format "cansas1d:1.1" now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 1dwg/branches/v1.1/doc/source/binding-igorpro.rst

    r271 r284  
    5050:purpose: 
    5151        Implement an IgorPro file reader to read the canSAS 1-D reduced SAS 
    52         data in XML files that adhere to the cansas1d/1.1 standard. 
     52        data in XML files that adhere to the cansas1d:1.1 standard. 
    5353 
    5454:URL: 
     
    175175Given an XML file, **CS_XmlReader(fileName)** attempts 
    176176to open the file and read its contents as if it conformed to the canSAS XML standard 
    177 for reduced 1-D SAS data (cansas1d/1.1, also known as SASXML). If the file is found to be 
     177for reduced 1-D SAS data (cansas1d:1.1, also known as SASXML). If the file is found to be 
    178178non-conforming, then *CS_XmlReader(fileName)* returns 
    179179with an error code (show below), otherwise it returns *0*, indicating *no error*. 
     
    222222        =======   ===============================================   ===================================================================== 
    223223        0         xmlFile                                           *cs_collagen_full.xml* 
    224         1         namespace                                         ``cansas1d/1.1`` 
     224        1         namespace                                         ``cansas1d:1.1`` 
    225225        2         *Title*                                           ``dry chick collagen, d = 673 A, 6531 eV, X6B`` 
    226226        3         *Run*                                             ``Sep 19 1994 01:41:02 am`` 
     
    252252        If you take a minimalist view (*a.k.a.* a shortcut), it is likely that your file may be 
    253253        refused by this and other readers. Pay particular attention to UPPER and lower case in 
    254         the text **cansas1d/1.1** as this is a **key component** used to index through the XML file. 
     254        the text **cansas1d:1.1** as this is a **key component** used to index through the XML file. 
    255255 
    256256**XML stylesheet processing-instruction is not generated** 
     
    304304        root element is not SASroot with valid canSAS namespace 
    305305            Completed in 0.0134224 seconds 
    306         bimodal-test1.xml                identified as: cansas1d/1.1 XML file 
     306        bimodal-test1.xml                identified as: cansas1d:1.1 XML file 
    307307            Title: SAS bimodal test1  
    308308            Completed in 0.068654 seconds 
     
    313313        root element is not SASroot with valid canSAS namespace 
    314314            Completed in 0.00930118 seconds 
    315         ISIS_SANS_Example.xml            identified as: cansas1d/1.1 XML file 
     315        ISIS_SANS_Example.xml            identified as: cansas1d:1.1 XML file 
    316316            Title: standard can 12mm SANS  
    317317            Completed in 0.0410387 seconds 
    318         W1W2.xml                 identified as: cansas1d/1.1 XML file 
     318        W1W2.xml                 identified as: cansas1d:1.1 XML file 
    319319            Title: standard can 12mm SANS  
    320320            Title: TK49 standard 12mm SANS  
    321321            Completed in 0.0669074 seconds 
    322         ill_sasxml_example.xml           identified as: cansas1d/1.1 XML file 
     322        ill_sasxml_example.xml           identified as: cansas1d:1.1 XML file 
    323323            Title: ILL-D22 example: 7D1 2mm  
    324324            Completed in 0.0332752 seconds 
    325         isis_sasxml_example.xml                  identified as: cansas1d/1.1 XML file 
     325        isis_sasxml_example.xml                  identified as: cansas1d:1.1 XML file 
    326326            Title: LOQ TK49 Standard 12mm C9  
    327327            Completed in 0.0388868 seconds 
    328         r586.xml                 identified as: cansas1d/1.1 XML file 
     328        r586.xml                 identified as: cansas1d:1.1 XML file 
    329329            Title: ILL-D11 example1: 2A 5mM 0%D2O  
    330330            Completed in 0.0213737 seconds 
    331         r597.xml                 identified as: cansas1d/1.1 XML file 
     331        r597.xml                 identified as: cansas1d:1.1 XML file 
    332332            Title: ILL-D11 example2: 2A 5mM 0%D2O  
    333333            Completed in 0.0221894 seconds 
    334         xg009036_001.xml                 identified as: cansas1d/1.1 XML file 
     334        xg009036_001.xml                 identified as: cansas1d:1.1 XML file 
    335335            Title: det corrn 5m  
    336336            Completed in 0.0286721 seconds 
    337         cs_collagen.xml                  identified as: cansas1d/1.1 XML file 
     337        cs_collagen.xml                  identified as: cansas1d:1.1 XML file 
    338338            Title: dry chick collagen, d = 673 A, 6531 eV, X6B  
    339339            Completed in 0.0296247 seconds 
    340         cs_collagen_full.xml             identified as: cansas1d/1.1 XML file 
     340        cs_collagen_full.xml             identified as: cansas1d:1.1 XML file 
    341341            Title: dry chick collagen, d = 673 A, 6531 eV, X6B  
    342342            Completed in 0.0751836 seconds 
    343         cs_af1410.xml            identified as: cansas1d/1.1 XML file 
     343        cs_af1410.xml            identified as: cansas1d:1.1 XML file 
    344344            Title: AF1410-10 (AF1410 steel aged 10 h)  
    345345            Title: AF1410-8h (AF1410 steel aged 8 h)  
     
    356356        cansas1d-template.xml either not found or cannot be opened for reading 
    357357            Completed in 0.00892823 seconds 
    358         1998spheres.xml                  identified as: cansas1d/1.1 XML file 
     358        1998spheres.xml                  identified as: cansas1d:1.1 XML file 
    359359            Title: 255 nm PS spheres  
    360360            Title: 460 nm PS spheres  
     
    363363        does-not-exist-file.xml either not found or cannot be opened for reading 
    364364            Completed in 0.00404549 seconds 
    365         cs_rr_polymers.xml               identified as: cansas1d/1.1 XML file 
     365        cs_rr_polymers.xml               identified as: cansas1d:1.1 XML file 
    366366            Title: Round Robin Polymer A  
    367367            Title: Round Robin Polymer B  
     
    369369            Title: Round Robin Polymer D  
    370370            Completed in 0.0943477 seconds 
    371         s81-polyurea.xml                 identified as: cansas1d/1.1 XML file 
     371        s81-polyurea.xml                 identified as: cansas1d:1.1 XML file 
    372372            Title: S7 Neat Polyurea  
    373373            Completed in 0.0361616 seconds 
Note: See TracChangeset for help on using the changeset viewer.