开发者

How can i convert XHTML to XSD in java?

开发者 https://www.devze.com 2023-03-11 20:30 出处:网络
I want to know how can i convert an XHTML doc into XSD which i can 开发者_运维百科further process.

I want to know how can i convert an XHTML doc into XSD which i can 开发者_运维百科further process.

E.g. If XHTML has two input boxes, same should be converted into XSD.

Thanks.


I see 2 ways, depending on what you are trying to achieve.

  1. Use a tool such as XMLSpy to generate (infer) the XSD from the XHTML, and fix it manually if required
  2. Manually write an XSL file to transform your XHTML in either simpler XML or in an XSD (much harder)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号