Question

This is an XML exercise. Use XML Literals and placeholders to create an attribute-centric version of...

This is an XML exercise.

Use XML Literals and placeholders to create an attribute-centric version of the music library, below:

<musicLibrary xmlns=”http://www.wrox.com/namespaces/apps/musicLibrary”>

<cd id=”1”>

<title>Parallel Lines</title>

<year>2001</year>

<artist>Blondie</artist>

<genre>New Wave</genre>

</cd>

< !-- more cd elements -->

</musicLibrary>

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer.)

Attribute-centric version of music library :

<musicLibrary>
<musicLibrary_cd cd_id="1" title="Parallel Lines" year="2001" artist="Blondie" genre="New Wave" />
<musicLibrary_cd cd_id="2" title="Straight Lines" year="2002" artist="Whitie" genre="Old Wave" />
<musicLibrary_cd cd_id="3" title="Perpendicular Lines" year="2003" artist="Funkie" genre="Past Wave" />
<musicLibrary_cd cd_id="4" title="Odd Lines" year="2004" artist="Drowny" genre="Present Wave" />
<musicLibrary_cd cd_id="5" title="Even Lines" year="2005" artist="Patrick" genre="Future Wave" />
<!-- more elements -->
</musicLibrary>

Add a comment
Know the answer?
Add Answer to:
This is an XML exercise. Use XML Literals and placeholders to create an attribute-centric version of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • This is an XML exercise. Use XML Literals and placeholders to create an attribute-centric version...

    This is an XML exercise. Use XML Literals and placeholders to create an attribute-centric version of the music library, below: <musicLibrary xmlns=”http://www.wrox.com/namespaces/apps/musicLibrary”> <cd id=”1”> <title>Parallel Lines</title> <year>2001</year> <artist>Blondie</artist> <genre>New Wave</genre> </cd> < !-- more cd elements --> </musicLibrary>

  • Java Programming Exercise: Creating and implementing a UML class diagram The inventory of a library is...

    Java Programming Exercise: Creating and implementing a UML class diagram The inventory of a library is a set of media. Media can be books, CDs and films. Each medium has a unique alphanumeric ID, a title, a year of publication and the date on which it was purchased. Each book also has an author and an ISBN. For each CD the artist and the number of titles are saved. Each movie has a genre and a format: either DVD or...

  • the OOP project is needed to be coded in netbeans and store a information in file...

    the OOP project is needed to be coded in netbeans and store a information in file on local machine it could be stored with xml tags since its easier. OOP Project Description Requirements: You are to design and build software media rental system. The software will track each user’s account with its rentals. A user can rent multiple media of different type/genre and all that user’s rentals are managed under their account (single account per user). A user will be...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT