Hi guys i am pretty new to XML. Well I have transform a xml file in format A(let's say) to format B. By surfing the websites, I found that XLST can do this.But these 2 formats dun not neccesarily have easy transforms like tag-to-tag. They can be transformed from tag-to-tag,tag-to-attribute etc.. So in this case is XLST should still be able to achieve the needs or should I have to resort to SAX or DOM.And again which is better.. Thanks in advance.. :)
hanifa
0
Newbie Poster
Recommended Answers
Jump to PostXSLT is the tool for the job, you just need to write an XSLT stylesheet to perform the transformation you want, and away you go.
How you write that XSLT is the tricky part, books have been written about it. It's a complex programming language in its own right.
Jump to PostXSLT processors generally use SAX and DOM as the core parser and RAM organisation method respectively.
SAX is a very low-level XML-to-event-chain parser, and DOM is just a list of interconnected nodes.
XSLT is a definition language that can sit on top of that, controlling the process of …
All 5 Replies
jwenting
1,889
duckman
Team Colleague
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
jwenting
1,889
duckman
Team Colleague
hanifa
0
Newbie Poster
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.