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

Re: Converting XML

  • To: tedd <tedd@s...>, xml-dev@l...
  • Subject: Re: Converting XML
  • From: Prakash Yamuna <techpy@y...>
  • Date: Tue, 28 Dec 2004 13:44:30 -0800 (PST)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=z/3crmHIm2Yq4i6R17QVdvOrsArbbtkhiP+AuyfartrBp3PgwtaBWtH0e7xKDNnTfhINAQE+VjbHMBKGhvCoWkzve/1PcMg10R5ekRVBD6HPGZFQ60bIjf6qMdZOuP3hljuGBYUPWnEhIMzgHmXV0G9EdqonnTXrXTw5qaFKr4E= ;
  • In-reply-to: <p06200707bdf78028d4c6@[192.168.0.100]>

Re:  Converting XML
If your requirement is more generic in that replace specific element names with a more generic <em class="<elementname>"> for all element names, then solution provided below won't scale. You may want to use a more generic template instead...
 
prakash

tedd <tedd@s...> wrote:
>On Dec 28, 2004, at 3:57 PM, tedd wrote:
>
>>What's the easiest way to go from:
>>
>> Understanding XML
>>
>>and convert it to:
>>
>> Understanding XML
>>
>>Any ideas?
>
>Learn XSLT. You'd just write a template like:
>
>
>
>
>

>

>
>Bruce

and

>This is a simplistic example but it will work. I assume
>there is more to your requirement than the element
>'booktitle'.
>
>Good luck!
>
>XSLT:
>
>
>> version="1.0">
>
>
>
>
>

>

>


Bruce and Betty:

Yeah, I figured that someone was gong to tell me that. I just didn't
want to be forced into learning yet another acronym. As it is, my
brain looks like my grand-daughter's half-eaten alphabet cereal bowl
in the morning. Aaarrggg.....

Thanks (I think) :-)

tedd
--
--------------------------------------------------------------------------------
http://sperling.com/

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org , an
initiative of OASIS

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager:

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.