This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert XML to XML using XSL

 
Thomas Greene
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please guide me to an example of converting one XML to another XML using XSL.

Also, is it possible to convert HTML to XML using XSL.

Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please guide me to an example of converting one XML to another XML using XSL

See this.


Also, is it possible to convert HTML to XML using XSL

No. HTML is not a "well formed" markup language.
 
Thomas Greene
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:

No. HTML is not a "well formed" markup language.


Does that mean XHTML can be converted to XML using XSL?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For all intents and purposes XHTML is XML, its just XML with an extra purpose, since the tags have special meaning to browsers. So yes, you can use XSLT with XHTML.
 
Thomas Greene
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:
For all intents and purposes XHTML is XML, its just XML with an extra purpose, since the tags have special meaning to browsers. So yes, you can use XSLT with XHTML.


Thanks for replying Paul

Is it used the same way as XML is used with XSLT?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic