[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xmlns (flawed XML?)

Subject: RE: xmlns (flawed XML?)
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 2 Jun 2004 18:07:02 +0100
eadmus
Your document contains two top-level <record> elements, and is therefore not
well-formed.

Michael Kay 

> -----Original Message-----
> From: Mike Ferrando [mailto:mikeferrando@xxxxxxxxx] 
> Sent: 02 June 2004 14:23
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xmlns (flawed XML?)
> 
> Friends,
> I am having trouble trying to figure out why I cannot seem to write a
> stylesheet for this XML document.
> 
> I suspect that the XML is not correct.
> 
> Please take a look at it (below).
> 
> My hunch is that it needs one or both of the following:
>   i) DOCTYPE statement pointing to a Schema or a DTD
>   ii) namespace prefix for the elements.
> 
> Mike Ferrando
> Washington, DC
> 
> ===XML:===
> <record xmlns="http://www.loc.gov/MARC21/slim">
>   <leader>01248cam  2200277 a 4500</leader>
>   <controlfield tag="001">12655819  </controlfield>
>   <controlfield tag="005">20030723214400.0  </controlfield>
>   <controlfield tag="008">020125s2002    enkab    b    001 0 eng   
> </controlfield>
>   <datafield tag="906" ind1=" " ind2=" ">
>     <subfield code="a">7</subfield>
>     <subfield code="b">cbc</subfield>
>     <subfield code="c">orignew</subfield>
>     <subfield code="d">1</subfield>
>     <subfield code="e">ecip</subfield>
>     <subfield code="f">20</subfield>
>     <subfield code="g">y-gencatlg</subfield>
>   </datafield>
>   <datafield tag="925" ind1="0" ind2=" ">
>     <subfield code="a">acquire</subfield>
>     <subfield code="b">2 shelf copies</subfield>
>     <subfield code="x">policy default</subfield>
>   </datafield>
>   <datafield tag="955" ind1=" " ind2=" ">
>     <subfield code="a">yh55 2002-01-25</subfield>
>     <subfield code="c">yh55 2002-01-25</subfield>
>     <subfield code="d">yh45 2002-01-25</subfield>
>     <subfield code="e">yh31 2002-01-28 to Dewey</subfield>
>     <subfield code="a">aa19 2002-01-28</subfield>
>     <subfield code="a">ps16 2002-05-10 bk rec&apos;d, to CIP
> ver.</subfield>
>     <subfield code="f">yg03 2002-05-13 to BCCD</subfield>
>     <subfield code="e">yk12 2002-06-06 Copy 2 to BCCD</subfield>
>   </datafield>
>   <datafield tag="010" ind1=" " ind2=" ">
>     <subfield code="a">  2002001234</subfield>
>   </datafield>
>   <datafield tag="020" ind1=" " ind2=" ">
>     <subfield code="a">0195145135</subfield>
>   </datafield>
>   <datafield tag="040" ind1=" " ind2=" ">
>     <subfield code="a">DLC</subfield>
>     <subfield code="c">DLC</subfield>
>     <subfield code="d">DLC</subfield>
>   </datafield>
>   <datafield tag="042" ind1=" " ind2=" ">
>     <subfield code="a">pcc</subfield>
>   </datafield>
>   <datafield tag="043" ind1=" " ind2=" ">
>     <subfield code="a">f-ae---</subfield>
>   </datafield>
>   <datafield tag="050" ind1="0" ind2="0">
>     <subfield code="a">DT295</subfield>
>     <subfield code="b">.C6115 2002</subfield>
>   </datafield>
>   <datafield tag="082" ind1="0" ind2="0">
>     <subfield code="a">965/.0462</subfield>
>     <subfield code="2">21</subfield>
>   </datafield>
>   <datafield tag="100" ind1="1" ind2=" ">
>     <subfield code="a">Connelly, Matthew James.</subfield>
>   </datafield>
>   <datafield tag="245" ind1="1" ind2="2">
>     <subfield code="a">A diplomatic revolution :</subfield>
>     <subfield code="b">Algeria&apos;s fight for independence and the
> origins of the post-cold war era /</subfield>
>     <subfield code="c">Matthew Connelly.</subfield>
>   </datafield>
>   <datafield tag="246" ind1="3" ind2="0">
>     <subfield code="a">Algeria&apos;s fight for independence and the
> origins of the post-cold war era</subfield>
>   </datafield>
>   <datafield tag="260" ind1=" " ind2=" ">
>     <subfield code="a">Oxford ;</subfield>
>     <subfield code="a">New York :</subfield>
>     <subfield code="b">Oxford University Press,</subfield>
>     <subfield code="c">2002.</subfield>
>   </datafield>
>   <datafield tag="300" ind1=" " ind2=" ">
>     <subfield code="a">xviii, 400 p. :</subfield>
>     <subfield code="b">ill., maps ;</subfield>
>     <subfield code="c">24 cm.</subfield>
>   </datafield>
>   <datafield tag="504" ind1=" " ind2=" ">
>     <subfield code="a">Includes bibliographical references (p.
> 361-385) and index.</subfield>
>   </datafield>
>   <datafield tag="651" ind1=" " ind2="0">
>     <subfield code="a">Algeria</subfield>
>     <subfield code="x">History</subfield>
>     <subfield code="y">Revolution, 1954-1962.</subfield>
>   </datafield>
>   <datafield tag="856" ind1="4" ind2="2">
>     <subfield code="3">Book review (H-Net)</subfield>
>     <subfield
> code="u">http://www.h-net.org/review/hrev-a0c5n4-aa</subfield>
>   </datafield>
> </record>
> <record xmlns="http://www.loc.gov/MARC21/slim">
>   <leader>03481cpca 22004335a 4500</leader>
>   <controlfield tag="001">13184518  </controlfield>
>   <controlfield tag="005">20030829074612.0  </controlfield>
>   <controlfield tag="007">cr |||||||||||  </controlfield>
>   <controlfield tag="008">030502m19301993mau                 eng   
> </controlfield>
>   <datafield tag="906" ind1=" " ind2=" ">
>     <subfield code="a">7</subfield>
>     <subfield code="b">cbc</subfield>
>     <subfield code="c">orignew</subfield>
>     <subfield code="d">2</subfield>
>     <subfield code="e">ncip</subfield>
>     <subfield code="f">20</subfield>
>     <subfield code="g">y-genmusic</subfield>
>   </datafield>
>   <datafield tag="955" ind1=" " ind2=" ">
>     <subfield code="a">vl00 2003-05-02</subfield>
>     <subfield code="i">vl22 2003-05-02</subfield>
>     <subfield code="e">vl22 2003-05-20 to Music Division</subfield>
>   </datafield>
>   <datafield tag="010" ind1=" " ind2=" ">
>     <subfield code="a">  2003561019</subfield>
>     <subfield code="z">  2001561676</subfield>
>   </datafield>
>   <datafield tag="040" ind1=" " ind2=" ">
>     <subfield code="a">DLC</subfield>
>     <subfield code="c">DLC</subfield>
>     <subfield code="e">appm</subfield>
>   </datafield>
>   <datafield tag="050" ind1="0" ind2="0">
>     <subfield code="a">ML31</subfield>
>     <subfield code="b">.F5</subfield>
>   </datafield>
>   <datafield tag="100" ind1="1" ind2=" ">
>     <subfield code="a">Fine, Irving,</subfield>
>     <subfield code="d">1914-1962.</subfield>
>   </datafield>
>   <datafield tag="245" ind1="1" ind2="0">
>     <subfield code="a">Irving Fine collection</subfield>
>     <subfield code="f">1930-1993</subfield>
>     <subfield code="g">(bulk 1950-1962).</subfield>
>   </datafield>
>   <datafield tag="300" ind1=" " ind2=" ">
>     <subfield code="a">7 linear ft. (21 boxes, ca. 4,350
> items)</subfield>
>   </datafield>
>   <datafield tag="545" ind1=" " ind2=" ">
>     <subfield code="a">Irving Fine, American composer, teacher, and
> conductor, was born in Boston, Mass., on Dec. 3, 1914. He studied
> composition with Walter Piston at Harvard University and with Nadia
> Boulanger in Cambridge, Mass., and in Paris, 1France, and choral
> conducting with A.T. Davison, and orchestral conducting with Serge
> Koussevitzky. From 1939 until 1950, when he was appointed professor
> at Brandeis University, he also taught at Harvard. Fine was chairman
> of the Brandeis School of Creative Arts and served on the composition
> staff of the Tanglewood Music Center (formerly the Berkshire Music
> Center). He received two Guggenheim Fellowships, a Fulbright Research
> Fellowship for France, and many other awards. In addition to his
> composing, Fine wrote articles and reviews. Irving Fine died in
> Boston on Aug. 23, 1962.</subfield>
>   </datafield>
>   <datafield tag="520" ind1="8" ind2=" ">
>     <subfield code="a">The bulk of the materials in the collection
> are musical scores and sketches which represent virtually the entire
> musical output of the composer, some of which have been cataloged
> individually and classified and shelved in ML96.F47, ML96.5.F47,
> ML30.3C.F55, and ML29c.F527. In addition there are photographs,
> clippings, programs, scrapbooks, as well as correspondence from 20th
> century musicians such as Leonard Bernstein, Aaron Copland, Lukas
> Foss, Alberto Ginastera, Ned Rorem, and William Schuman.</subfield>
>   </datafield>
>   <datafield tag="530" ind1=" " ind2=" ">
>     <subfield code="a">Digitized images along with identifying
> information and a narrative introduction are also available through
> the Library of Congress Web site under the title: The Irving Fine
> collection, ca. 1914-1962, produced for the National Digital Library
> Program, American Memory collections.</subfield>
>   </datafield>
>   <datafield tag="541" ind1=" " ind2=" ">
>     <subfield code="c">Gifts</subfield>
>     <subfield code="a">Verna Fine</subfield>
>     <subfield code="d">1964-1991.</subfield>
>   </datafield>
>   <datafield tag="544" ind1=" " ind2=" ">
>     <subfield code="d">Forty unpublished tapes</subfield>
>     <subfield code="e">transferred to</subfield>
>     <subfield code="a">Library of Congress Motion Picture,
> Broadcasting and Recorded Sound Division.</subfield>
>   </datafield>
>   <datafield tag="540" ind1=" " ind2=" ">
>     <subfield code="a">Certain restrictions to use or copying of
> materials may apply.</subfield>
>   </datafield>
>   <datafield tag="555" ind1="8" ind2=" ">
>     <subfield code="a">Finding aid available in the Library of
> Congress Performing Arts Reading Room and on the Internet.</subfield>
>   </datafield>
>   <datafield tag="524" ind1=" " ind2=" ">
>     <subfield code="a">Irving Fine collection, Music Division,
> Library of Congress.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Fine, Irving,</subfield>
>     <subfield code="d">1914-1962.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Fine, Irving,</subfield>
>     <subfield code="d">1914-1962</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Fine, Irving,</subfield>
>     <subfield code="d">1914-1962</subfield>
>     <subfield code="v">Autographs.</subfield>
>   </datafield>
>   <datafield tag="650" ind1=" " ind2="0">
>     <subfield code="a">Composers</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="650" ind1=" " ind2="0">
>     <subfield code="a">Musicians</subfield>
>     <subfield code="v">Portraits.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Bernstein, Leonard,</subfield>
>     <subfield code="d">1918-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Copland, Aaron,</subfield>
>     <subfield code="d">1900-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Foss, Lukas,</subfield>
>     <subfield code="d">1922-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Ginastera, Alberto,</subfield>
>     <subfield code="d">1916-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Rorem, Ned,</subfield>
>     <subfield code="d">1923-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="600" ind1="1" ind2="0">
>     <subfield code="a">Schuman, William,</subfield>
>     <subfield code="d">1910-</subfield>
>     <subfield code="v">Correspondence.</subfield>
>   </datafield>
>   <datafield tag="852" ind1=" " ind2=" ">
>     <subfield code="a">Library of Congress</subfield>
>     <subfield code="b">Music Division</subfield>
>     <subfield code="e">Washington, D.C. 20540 USA</subfield>
>     <subfield code="n">dcu</subfield>
>   </datafield>
>   <datafield tag="856" ind1="4" ind2="2">
>     <subfield code="3">Finding aid</subfield>
>     <subfield
> code="u">http://hdl.loc.gov/loc.music/eadmus.mu001001</subfield>
>   </datafield>
>   <datafield tag="856" ind1="4" ind2="1">
>     <subfield code="3">American memory presentation</subfield>
>     <subfield
> code="u">http://memory.loc.gov/ammem/ifhtml/ifhome.html</subfield>
>   </datafield>
> </record>
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> --+------------------------------------------------------------------
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --+--
> 



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.