Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java saxreader技术解析xml解析与反解析需求 #27

Open
Maple-mxf opened this issue Nov 24, 2020 · 0 comments
Open

Java saxreader技术解析xml解析与反解析需求 #27

Maple-mxf opened this issue Nov 24, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Maple-mxf
Copy link
Member

Maple-mxf commented Nov 24, 2020

术语:xml解析为一个带有path路径的平级数据称为projector
一个带有path的平级数据解析为xml称为deProjector

xml需求示例

<student>
	<name id="001">张三</name>
	<sex>男</sex>
	<age>20</age>
</student>

projector的输入为上述xml字符串,输出如下:

  • student.name=张三
  • student.sex=男
  • student.age=20

deProjector输入为

  • student.name=张三
  • student.sex=男
  • student.age=20

输出为下

<student>
	<name id="001">张三</name>
	<sex>男</sex>
	<age>20</age>
</student>

@Maple-mxf Maple-mxf added the documentation Improvements or additions to documentation label Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant