开发者

How can i convert XHTML to XSD in java?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜