OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Converting XML

[ Lists Home | Date Index | Thread Index ]
  • To: tedd <tedd@sperling.com>, xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] Converting XML
  • From: Prakash Yamuna <techpy@yahoo.com>
  • 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]>

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@sperling.com> 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS